C# RESTful Framework, not based on WCF [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 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

Related

Provide both REST and SOAP endpoints for webservices [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 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).

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.

How to implement a dynamic OData client in C#? [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
Microsoft provides a WCF Data Services Client Library to implement OData clients in C#. This library works on the principle of creating a typed reference to the OData service.
What would be a good approach to implement an OData client in C# without having to previously generate a typed service interface? In other words, what would be a good way to implement an OData client in C# that could work with several different OData services, given the base URL and entity names as strings?
Such client would use dynamic C# objects or dictionaries to represent the entities, instead of typed entity objects.
Which existing libraries or projects could be leveraged to implement this?
One application of this technique would be to develop a generic functional test suite helper library that could be used to implement tests of OData services.
The pointer to odata-sdk above is definitely a good start. For one the OData Explorer which is also listed on that site is almost exactly what you're looking for. It's a general OData service "browser".
Another approach (maybe even better) would be to use Microsoft.Data.OData.dll. It's part of the latest CTP of WCF Data Services (http://blogs.msdn.com/b/astoriateam/archive/2011/10/13/announcing-wcf-data-services-oct-2011-ctp-for-net-4-and-silverlight-4.aspx).
It's a low-level reader and writer for OData. It doesn't solve the URL processing, but reading and writing the payloads works great.
There's a sample of a usage here: http://blogs.msdn.com/b/astoriateam/archive/2011/10/14/introducing-the-odata-library.aspx
you need nothing more than a URL/ String Parser for this , for more drill down approach you may also like to look at some options here:
http://www.odata.org/developers/odata-sdk

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.

Categories