Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

REST WCF Causes IIS to crash

Posted on 2013-10-22
6
Medium Priority
?
452 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 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