Adhoc testing of .NET RIA Services
Suddenly my Silverlight 3 application breaks during development process. Cause I have installed Visual Studio 2010 a few hours before, I was sure: must be something with 2010. After uninstall and reinstall SP1 everything worked fine, except .NET RIA services :-(
So back to structured trouble shoothing. What is the first point, the database- SQL Profiler shows no requests. Second point is Entity model. Till now I do not know any point to interactive test a model. Next point is the RIA Service. But how to call a RIA Service in Browser? I took fiddler to figure it out
http://localhost:51240/ClientBin/DataService.axd/test3-Web-DomainService1/GetCustomers
- Server and Port: here ASP.NET Web Dev Server
- ClientBin directory
- dataservice.axd – you can find the registration of the handler in web.config
- test3 – Application name
- Web – cause service is in website and not in Silverligth project
- DomainService1 – is the name of the domain service class which I selected
- GetCustomers – is the name of the domain service method in the service class to retrieve the customers- here I call northwind DB
Then error message. Reason was admin (natural enemy of developer) locked out a IP from SQL port. Nothing related with VS 2010.