Solved

REST WCF Causes IIS to crash

Posted on 2013-10-22
6
430 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
Technology Partners: 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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