| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
34 Articles match "Host","Web"
| Related DevelopMentor Courses | MORE | | Self Hosted Web API / Nuget Gotcha Just a heads up that when self hosting the new WCF Web API. By default if you try to add the Web API references via Nuget you will get a failure (E_FAIL returned from a COM component). This is due to the likely project types (Console, Windows Service, WPF) defaulting to the client profile rather than the full framework. If you change the project to the full framework the Nuget packages install correctly. Yet again bitten by the Client Profile.NET;REST;WCF DevelopMentor Courses - Wednesday, June 15, 2011 Different options for hosting RavenDB Running as an IIS application Another option for hosting RavenDB is creating an IIS application and letting IIS take care of things. There is a little bit more work to it and I consider it more of a deployment option but its a great way of hosting RavenDB in production. number of my websites run on a budget hosting infrastructure that make it harder to deploy extra IIS applications. Deploying to Azure Web Sites is another of those places where embedded mode is really useful. There are quite a few options when it comes to hosting RavenDB. Conclusion. Enjoy! The Problem Solver - Wednesday, December 5, 2012 Ninject WCF Extensions for RESTful Services public class RestServiceHostFactory <TServiceContract> : NinjectWebServiceHostFactory { protected override ServiceHost CreateServiceHost( Type serviceType, Uri [] baseAddresses) { ServiceHost host = base.CreateServiceHost(serviceType, baseAddresses); var webBehavior = new WebHttpBehavior { AutomaticFormatSelectionEnabled = true , HelpEnabled = true , FaultExceptionEnabled = true }; var endpoint = host.AddServiceEndpoint( typeof (TServiceContract), new WebHttpBinding (), "Rest" ); endpoint.Name = "rest" ; endpoint.Behaviors.Add(webBehavior); return host; } }. ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 |
75 Articles match "Host","Web"
| The Latest from DevelopMentor | MORE | | The Architecture of WCF Over the lifetime of Windows there have been many technologies to achieve this: sockets, DCOM, MSMQ,NET Remoting, ASMX Web Services and more. They are implementations of Web Service specification such as WS-Security, WS-AtomicTransaction and WS-ReliableMessaging and pass any required information to-and-fro using the message’s Headers collection. You can either create the ServiceHost instance yourself and call Open on it (known as self hosting) or you can get the Windows Process Activation Service to do this (formally known as WAS hosting). Messages. Channels. DevelopMentor Courses - Sunday, April 7, 2013 Different options for hosting RavenDB Running as an IIS application Another option for hosting RavenDB is creating an IIS application and letting IIS take care of things. There is a little bit more work to it and I consider it more of a deployment option but its a great way of hosting RavenDB in production. number of my websites run on a budget hosting infrastructure that make it harder to deploy extra IIS applications. Deploying to Azure Web Sites is another of those places where embedded mode is really useful. There are quite a few options when it comes to hosting RavenDB. Conclusion. Enjoy! The Problem Solver - Wednesday, December 5, 2012 Different options for hosting RavenDB Running as an IIS application Another option for hosting RavenDB is creating an IIS application and letting IIS take care of things. There is a little bit more work to it and I consider it more of a deployment option but its a great way of hosting RavenDB in production. number of my websites run on a budget hosting infrastructure that make it harder to deploy extra IIS applications. Deploying to Azure Web Sites is another of those places where embedded mode is really useful. There are quite a few options when it comes to hosting RavenDB. Conclusion. Enjoy! The Problem Solver - Wednesday, December 5, 2012 | -
| The Best from DevelopMentor | MORE | - Self Hosted Web API / Nuget Gotcha
Just a heads up that when self hosting the new WCF Web API. By default if you try to add the Web API references via Nuget you will get a failure (E_FAIL returned from a COM component). This is due to the likely project types (Console, Windows Service, WPF) defaulting to the client profile rather than the full framework. If you change the project to the full framework the Nuget packages install correctly. Yet again bitten by the Client Profile.NET;REST;WCF DevelopMentor Courses - Wednesday, June 15, 2011 - RESTful Web Services with WCF Screencast
I recently got the chance to record a screencast discussing REST-oriented web services in WCF. cover building WCF services using REST princples, the WebGet and WebInvoke attributes, working with the SyndicationFeed & Rss20FeedFormatter classes, and configuration-free WCF hosting in IIS. If you're interested in WCF you should definitely check it out because WCF and REST make an awesome combination. WCF-REST-Kennedy-Peepleocity.wmv 35 MB (WMV HD). You can also download the source code of the project built in the screencast. All content copyright Michael C. Kennedy. - Using the WCF Web API in an ASP.NET MVC application
Warning: This post is based on a prerelease version of the WCF Web API In my previous blog post I showed how to add to and use the new WCF Web API a console application using NuGet. Now that works but it is far more likely that you will want to be using IIS and host the REST service as part of a web application. So in this blog post I am going to show how to do the normal thing I Created an ASP.NET MVC 3 app to host the REST service. Just like in this post we can add a reference to the WCF Web API to our project. repo = repo; }. public BooksService(). The Problem Solver - Monday, June 13, 2011 - Different options for hosting RavenDB
Running as an IIS application Another option for hosting RavenDB is creating an IIS application and letting IIS take care of things. There is a little bit more work to it and I consider it more of a deployment option but its a great way of hosting RavenDB in production. number of my websites run on a budget hosting infrastructure that make it harder to deploy extra IIS applications. Deploying to Azure Web Sites is another of those places where embedded mode is really useful. There are quite a few options when it comes to hosting RavenDB. Conclusion. Enjoy! The Problem Solver - Wednesday, December 5, 2012 - Getting started with the WCF Web API
Warning: This post is based on a prerelease version of the WCF Web API When designing services the REST style is becoming more and more popular. Enter the WCF Web API The new Web API is supposed to change that and enable a lot more flexibility to create more powerful REST services using WCF. At the moment the Web API is still in a preview state so things might change quite a bit before it is actually released so keep that in mind if you read this some time in the future. These make it very easy to create and host a REST service. ServiceContract]. Enjoy! The Problem Solver - Tuesday, May 31, 2011 - ASP.NET: Internet Explorer Cannot Display the Web Page
After installing a recent Windows Update, I was no longer able to run ASP.NET web apps using localhost. It seems the update removed an entry from my hosts file, located in C:WindowsSystem32driversetc, removing the entry that maps localhost to the loop-back IP address. The result was that pressing F5 or Ctrl-F5 to run an ASP.NET web app from Visual Studio 2008 resulted in a page in IE7 that said “Internet explorer cannot display the web page. Interestingly, Firefox had no problem displaying the web page. localhost. Tony and Zuzana's World - Wednesday, March 11, 2009 - Getting started with the ASP.NET Web API
Some time ago I did a number of blog posts about the beta versions of the WCF Web API. As it turns out the WCF Web API team has moved into the ASP.NET team, a good thing as far as I am concerned, and as a result it is now called ASP.NET Web API. For starters there is very little of the WCF bits still involved, in fact when you use ASP.NET as a host none at all. In this blog post I am going to show how to get started with the ASP.NET Web API. What is the ASP.NET Web API all about? One for the normal controller and the other for Web API controllers. The Problem Solver - Friday, March 9, 2012 %>
| | |