?
Solved

REST WCF Causes IIS to crash

Posted on 2013-10-22
6
Medium Priority
?
455 Views
Last Modified: 2013-10-28
I am attempting to create my first wcf service based on the REST architecture and something is going wrong. This is a simple service that returns a product list. I just wish to have this in a REST style implementation.

Could someone please look at the project and tell me where am I going wrong?  I am using Windows 7 32 bit and Visual Studio 2012 to build and test this project.

The project compiles, but when I run it from Visual Studio, it crashes the IIS process.
0
Comment
Question by:ModSpace
  • 4
  • 2
6 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39592158
Which project?
0
 

Author Comment

by:ModSpace
ID: 39593015
I attached a file in my post. Anyway I have made some progress. I realize that the project works if my function returns a simple type like a string.

In case of complex types, it fails.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39593024
There's no attachment in your original post.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ModSpace
ID: 39594088
Here is the project. I have uploaded this to my dropbox folder.

https://www.dropbox.com/s/ji08t13tuczshds/Lesson2.zip
0
 

Accepted Solution

by:
ModSpace earned 0 total points
ID: 39595544
I had to make a few changes to the product class in order to get this working. Now this is a fully working solution.
0
 

Author Closing Comment

by:ModSpace
ID: 39605123
This solution is too simple for my present needs.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question