Provide both REST and SOAP endpoints for webservices [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was a great fun of Service Stack until it has gone commercial and they officially stopped the support of older versions. My main problem is that I want to be able to write a service and support both REST and SOAP xml. The reason being that most of my business clients work with WSDL and "Add service reference" but I have some other clients that would prefer to work with REST APIs as they follow the latest tech stacks.
Personally I have used the Agatha rrsl from the mighty Davy Brion but it is not actively maintained any more. I guess one could go the extra mile to maintain it on its own but I'd rather find another working framework.
Any ideas?

if you are interesting about SOAP, the free BSD version of ServiceStack 3.9.71, is excellent for you.
Do you think that you will need official support for SOAP updates ?
Is it mature enough ? I think yes , at least about your issue.
Nevertheless, in open source communities, there are always contributors.
There is not official support. Never, this is the answer.

Well of course Web API (http://www.asp.net/web-api) is one option. I also like Nancy (http://nancyfx.org/) a lot because it allows easily to change part of framework (like di container).

Related

C# RESTful Framework, not based on WCF [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'am looking for C# RESTful framework (best with json support), which is not based on WCF in any way. WCF requires me to create namespace reservations, and this is thing i'd like to avoid (i already tried Nancy). The thing is target PCs for my service are older Windows XP machines, where are registering tools missing (netsh has no http context).
Can anyone suggest me good solution?
Take a look here. it's really only an issue if you have a self hosted WCF service running along side IIS. Other then that, if you run inside IIS, you are the only thing listening to port 80, or you are listening to a different port, then you dont care about URL registration. you can also redirect the request from IIS to a different port on the same machine.
personally I really prefer WCF to all other and currently more popular alternatives, it gives you the best flexibility , and although it has a pretty significant learning curve, once you are "on top of the curve" gives you, in my opinion, the best "features developed / time invested" ratio
Excluding WCF, I think your best solution is this (as doan commented):ASP.Net Web Api combined with this (another site ) which is an open source project that microsoft pretty much adopted, and its all shown here
bare links:
http://msdn.microsoft.com/en-us/library/ms733768%28v=vs.110%29.aspx
http://www.asp.net/web-api
http://json.codeplex.com/
http://james.newtonking.com/json
http://www.asp.net/web-api/overview/formats-and-model-binding/json-and-xml-serialization

How to: Social Media Website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was tasked to create a new Website - to make it similar to Facebook. ( were talking without games) so a standart backend with CMS for media sites.
I am familiar with VS'12, asp.net MVC3 & 4 C# or Vb.net , html5 and other languages and feel fit to start this.
What i wanted to know is if there is any Template, Backends, Nuget Packages, Open Source Applications out there for Visual Studio so I don't have to recreate the wheel?
I have looked where i know to look so a great answer would be a Template, Backend, Nuget Package and where you found it. Or possibly another method of getting started that i didn't list / am not aware of
Please do not come back at me with any PHP templates, for i would not be interested in it.
Thanks in advance.
Take a look here: MonoX
Free ASP.NET Content Management and Social Networking Platform
MonoX comes with everything you need to build advanced social networks.
MonoX includes very powerful content management functionality.
Mono Software provides MonoX blogs, tutorials and support forums.
This is something I'd recommend.

Example of using Websocket in .Net 4.5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to build a sample app that uses web sockets in .Net 4.5. based on the example in here: http://blog.davidpadbury.com/2011/01/13/wcf-websockets-first-glance/
I have VS11 developer preview installed on Windows 7.
I could not figure out which namespace WebSocketsService belongs to.
It would be of great help if anyone can point me to a resource that has complete details to get websockets working in .net.
Thanks.
MK
Did you download and install the WCF WebSockets Prototype from HTML5 Labs?
The namespace is Microsoft.ServiceModel.WebSockets in the assembly Microsoft.ServiceModel.WebSockets.dll. Once you install the prototype library you should be able to find the assembly.
I spent all day looking for examples that actually worked. So, I decided to put a complete example of web sockets hosted from MVC4 in this blog post. It uses the easiest possible way, using the Microsoft.WebSockets NuGet package. It still requires Windows 8 as far as I know. :( Hopefully there will be a patch to make Windows 7 a suitable host.

What to use for writing blog in my website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to develop my blog website in ASP.NET. What could be the best way I can write my blog through?
I mean will Tiny MCE work for me, last time when I used it I faced terrible formatting issues. Because my blog will include code, different formatting, pictures etc. Please suggest me how to post blog?
I am using ASP.NET 3.5 and SQL Server 2005.
Why write your own from scratch? Take a look at Orchard CMS. It's an opensource .NET CMS being developed with help from Microsoft http://www.orchardproject.net/
Its fairly new, so there's still some features missing, but its really easy to get setup and since you're a .NET developer you can add your own functionality.
I agree with Jamiegs. Blogging is by and large a solved problem. Why not use an existing package? Most packages will include much more than anything you'd put together in your spare time not to mention that you'll benefit from all of the field testing too.
I settled on hosted Wordpress and just pointed my domain there. Hosted Wordpress is somewhat more limited than self-hosted (you can't install your own themes, etc...) but I've hardly found it restrictive. Their documentation around the various shortcodes for displaying source code or embedding maps is pretty complete.
I have been using Obout's html editor almost a year now without any problems. http://obout.com/editor_new/sample_full.aspx . Ajax Toolkit has free lite version of Obout's editor.

Connect to Exchange - Getting Started Tutorial? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to connect to an Exchange-Server and to read some values, that a third party application stores there (BlackBerry Enterprise Server).
In my understanding I need to use CDO with C++ (C# doesn't seem to work this well in this regard). Is that right? I tried searching a little, but there seems to be lot of different approaches with a lot of different APIs and the whole topic confuses me a little.
Can anyone point me to some resources or tell me where to start?
Thanks!
You have a few options based on the version of Exchange you are using.
If you are running Exchange 2007
Exchange Web Services - Language agnostic approach to communicating with Exchange and the primary method moving forward. Googling EWS will return lots of good hits with tutorials and information in addition to the numerous books.
An example from Microsoft
If you are running Exchange 2003 or earlier
WebDAV is a simple way to access Exchange as Marc recommend. There are lots of good tutorials on the web for it as well. It is also language agnostic like EWS.
Dan's WebDAV 101 Blog - a blog I've used in the past for WebDAV & EWS info.
Any version of Exchange
If C++ is an option, there's also MAPI. If you're not familiar with MAPI programming, it's going to be a little bit of a learning curve, but you can do just about anything to a mailbox and it's contents. MAPI isn't supported in C#.
It's been at least three years since I worked on this problem, but it seemed to me like the best solution was C# with WebDAV. Rather than try to explain code I don't really remember, here's a link to a tutorial I wrote at the time. Definitely check out the links at the end, I remember they were very helpful in understanding how the technology worked.
Thanks for the answers guys!
However I ended up downloading a little tool called MFCMapi from codeplex and using the provided source code as a guide on how to do things.

Categories