Home | About | All Things STL | Dev | Investing | Links | Site Search | shanzi @sina | uudaddy | Login | Register

Ads

RSS Feed for This PostCurrent Article

Creating WCF web service II

A continuation of previous post.

1) Visual Studio, publish web service: check destination IIS app
Before the change, the error was “cannot show the content of the folder”.

2) Add this line to the service.cs (service class C# file), to work around/avoid a problem, asp .net compatibility issue. Do something like this:

[ServiceBehavior]
[AspNetCompatibilityRequirements(RequirementsMode=
AspNetCompatibilityRequirementsMode.Allowed)]
class BarService : IHelloContract
{
// …
}

Refer to wenlong

3) Bad request: it appears to be a class rename problem, Visual Studio has a “red” warning sign, follow it and accept “update”, rebuild.

Any questions, comments? You can leave comment below (in the comment section) or Email me:

Trackback URL

del.icio.us

Save to del.icio.us

Ads

Google
 
Web www.stlplace.com

RSS Feed for This Post1 Comment(s)

  1. Building business credit | Feb 19, 2013 | Reply

    You may be able to get loans using your personal credit, so why bother building business credit? It’s best to keep personal and business matter separate. Building business credit works so why bother building business credit and it’s used differently. You can also protect yourself by building business credit.

RSS Feed for This PostPost a Comment

// 最新推荐 Noteworthy
  • *new* 01-05-13: Most recent credit card offers
  • uudaddy (7-09-11): Airline and hotel credit card offers
  • my iPhone apps (4-14-11): myNestEgg ~ retirement income calculator; collegeFund ~ college savings calculator
  • houseOfKittyBlog 06/06/2008: The Inspiration Behind Hello Kitty – Shintaro Tsuji, Founder and CEO of Sanrio
  • Buffett on Market 12/10/2001: Whats in the future for investors
  • Google Ad

    (**use your own discretion for the the following links**)
  • Author作者

    "古人云,人不自信谁人信之." Others won't believe in you unless you believe yourself. --Chinese proverb

    Hello, world :-) I am not another expert. I am an ordinary guy who believes: by lifetime learning, hard and independent work and discipline, little guys can achieve their dreams, too.

    I grew up in China. Currently I am working on iOS (iPhone/iPad) app development. Here I'm also blogging about iOS app/software development, business, personal finance, and other fun stuffs in life. You can leave comment here or Email me: if you wish to remain private.

  • App dev

  • blog

  • China

  • finance

  • Links

  • Major

  • Saint Louis

  • Shanghai

  • Meta

  • Disclaimer声明

    See Disclaimer Page
  • Valid XHTML 1.0 Transitional