Showing posts with label wcf. Show all posts
Showing posts with label wcf. Show all posts
0
Posted on 8:40 AM by Softminer and filed under ,

to host on IIS



on project properties

IIS express

Project files have the information related to the IIS Express and it’s basic settings; whereas there are several configuration files that are required to host and run a web application.  You can find all the IIS Express related files under \users\\My Documents \ IISExpress\Config .

Open the “applicationhost.config” file in any text editor, and search for your web application name. You will find a section similar to the image shown in below.
Configuration Settings
http://dailydotnettips.com/2014/01/29/5-internal-things-that-you-should-know-about-iis-express/
0
Posted on 8:19 AM by Softminer and filed under ,

Here is a good example of publish subscribe design pattern in c#
http://www.codeproject.com/Articles/34316/Topic-based-Publish-Subscribe-design-pattern-imple

Here you can read about Publish Subscribe design pattern
http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

WCF has already some method to implement it
http://www.codeproject.com/Articles/34333/Topic-based-publish-subscribe-design-pattern-imp

0
Posted on 5:03 AM by Softminer and filed under ,


To Generate Service proxy c# classes from WCF endpoint Run:

cd C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin>
svcutil net.tcp://endpoint.svc /out:c:\proxy

To create schema from service contract dll
Run visual studio command prompt as admin:
go to the output folder

Svcutil c:/ServiceContracts.dll /t:metadata

Schema (*.xsd) and (*.wsdl) are generated and then proxy classes can be generated using:
Svcutil *.wsdl *.xsd /language:C#