|
I am a bit confused. I tried:
readonly string customerServiceUri = "http://localhost:55429/CustomerService";
customerServiceUri + ".svcGetAllCustomers"
I am still getting:
The remote server returned an error: (404) Not Found.
|
|
|
|
|
The desired url is
http://localhost:55429/CustomerService.svc/GetAllCustomers
so your code needs to be
customerServiceUri + "/GetAllCustomers"
|
|
|
|
|
Thanks! I don't know how I missed that but it has been a while since I worked with web services.
|
|
|
|
|
I have a WCF service that implements client call backs. A client can send a message to the service which then in turn notifies all other clients. I can pass an object of any type to the service and have it sent to all other clients.
1) Any reason to NOT use WCF other than the fact that it's complicated to setup and maintain?
2) Are call backs like this possible using ASP.Net MVC APIs?
3) Can you provide some resources on how to do this?
Thanks
If it's not broken, fix it until it is
|
|
|
|
|
You might be better using SignalR as it is designed for this kind of thing.
|
|
|
|
|
Thanks I'll take a look at it
If it's not broken, fix it until it is
|
|
|
|
|
Hi!
Windows 7
php 5.4.45
xdebug from xdebug wizard
phpshtorm 9.0
According to phpinfo() xdebug installed correctly. Validation of xdebug in phpshtorm goes without errors. I made all things in PHPShtorm to start debugging. When i try to start debug phpshtorm say that 9000 port is busy and debugging dont start. If change port in php.ini and phpshtorm the result is the same. By means of netstat i found out that the port is occupied by phpshtorm. Incredible!!!!
What is wrong?
|
|
|
|
|
You have already posted this in the Linux, Apache, MySQL & PHP forum:
Problem around XDebug, PHPShtorm - Linux, Apache, MySQL, PHP Discussion Boards - CodeProject[^]
Posting the same question in multiple forums duplicates work and annoys people.
Pick one forum, post your question there, and have a little patience. If you don't get an answer right away, don't re-post it. Remember, most of the people who answer questions here have real jobs to do as well, and they might not be in the same time-zone as you.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
anyone here can please help me to build a website for university , that would contain library data so that any student can use this site
i am very confused and very tensed some say it only requires html some says asp.net and bla bla
please help me
|
|
|
|
|
|
I think this sounds like a good project for the university CS program to tackle. I would highly suggest talking to the department head to see about organizing it as a learning activity.
If that's a non-starter, perhaps using some of that monumental university funding to actually hire a professional to handle your development tasks might be a good idea.
Also, for future reference, treating the professional's (or enthusiast's) bread and butter as "and bla bla" is not a great way to foster cooperation.
|
|
|
|
|
Hi all,
i am creating all category websites with new technologies and what are the new web development strategies for eCommerce and shopping websites..
|
|
|
|
|
That's pretty vague.
So with equal nebulousness I shall reply: Security first, Fail over or closed (never open).
|
|
|
|
|
My friend and I have recently put up the website: www.chessratings.org . It is being hosted on my friends machine which runs Linux and uses Apache to host the site. When a user goes to the web address it works but in the address bar of the browser wwww.chessraings.org is gone and the URL of the site is shown. We do not understand why and we want to turn off this behavior.
Bob
|
|
|
|
|
BobInNJ wrote: wwww.chessraings.org is gone and the URL of the site is shown
how do you mean 'URL' of the site is shown ? www.chessratings.org is (a) URL - what do you see .. an IP address ?
Are you using a static tcp/ip address on the Linux machine with a DNS entry ?
|
|
|
|
|
When the user goes to the site, the IP address of the site is shown in the address bar.
We are using a static TCP/IP address on a Linux machine with a DNS entry.
Bob
|
|
|
|
|
Your domain is hosted with GoDaddy. It resolves to the IP address 50.63.202.10 , which is a GoDaddy server. It looks like you've configured the domain to redirect to your IP address (71.187.235.187 ), which suggests you're paying them to host your domain.
You need to edit the "A" record for your domain so that it resolves to the correct IP address.
Manage DNS for Your Domain Names | Domains - GoDaddy Help[^]
Once that's working, check that they're not charging you to host the site as well.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
In one of the site, the search bar is placed at the top of the page. But for smaller width devices, I want to place the search bar below the navbar. Now my question is using css (media query) I can hide and display the search box depending on the device size but I don't think it will be a good practice to add two search bar at different location in a same page and display and hide one alternatively. So what is the best way to display the search bar at differnt position?
|
|
|
|
|
Hey Andi,
did you have a look at the Bootstrap grid layout [^]? It offers lots of possibilities to adjust your content depending on the screen size.
They adjust a lot of styles depending on @media (min-width: ...) , if you want to take a look in the sources.
|
|
|
|
|
Hi,
I am a newbie to angularJS. Can you guys tell me some good angular JS project which i can reference.
thanks in advance
|
|
|
|
|
Have you used Google to search for samples and tutorials?
|
|
|
|
|
|
|
Honestly, project structure is important as far as making sense, and that's about it. Some people like to make monolithic controller.js, directive.js, etc. Some like to divide the controllers into their logical functional areas and group them with views.
My personal preference is the latter, and then tying everything into a bundle. That allows you to target exactly the code you're looking for without wading through unrelated items. Web Essentials in VS makes this ridiculously easy.
|
|
|
|
|
How can I get the image to load immediately. I tried to get it on page load but it still is not showing an image. It is almost like it thinks there is an image in the folder that it does not recognize. I have 2 jpeg images but it cycles 3, the first one being blank.
|
|
|
|