| |
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.
|
33 Articles match "Module","Restful"
| Related DevelopMentor Courses | MORE | | Ninject WCF Extensions for RESTful Services had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. There you simply add code to a RegisterServices method in order to load your Ninject modules and perform the bindings. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. Named( "Rest" ).WithConstructorArgument( NinjectWebCommon.cs ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 Simple WCF SOAP-REST Multi-Project Template did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints. My other REST and SOAP templates are intended as a starting point for more real-world WCF services. Search for “WCF SOAP-REST” in the Online Gallery, then click Download to install the extension. Then to use the template, simply select New Project from the File menu, click on the WCF category and select “WCF SOAP and REST Simple Service.” Here is code in the client project that uses SOAP and REST to communicate with the service. DevelopMentor Courses - Monday, June 11, 2012 Service-Orientation Today and Tomorrow Training This first module introduces you to service orientation which is the key to understand why technologies like Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) work the way they do. WCF - Overview and Architecture In this module, we learn what a WCF service is. In this module we learn about the recommended ways to design contracts for services, including one-way operations and streaming operations. In this module, we&aposll learn about how to use the new engine and library, with a focus on the integration between WF and WCF. DevelopMentor Courses - Tuesday, March 1, 2011 |
7 Articles match "Module","Restful"
| The Latest from DevelopMentor | MORE | | Simple WCF SOAP-REST Multi-Project Template did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints. My other REST and SOAP templates are intended as a starting point for more real-world WCF services. Search for “WCF SOAP-REST” in the Online Gallery, then click Download to install the extension. Then to use the template, simply select New Project from the File menu, click on the WCF category and select “WCF SOAP and REST Simple Service.” Here is code in the client project that uses SOAP and REST to communicate with the service. DevelopMentor Courses - Monday, June 11, 2012 Ninject WCF Extensions for RESTful Services had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. There you simply add code to a RegisterServices method in order to load your Ninject modules and perform the bindings. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. Named( "Rest" ).WithConstructorArgument( NinjectWebCommon.cs ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 Replacing ASP.NET Forms Authentication with WIF Session Authentication (for the better) This module is a sub class of the standard WIF session module, adding the following features: Handling EndRequest to do the redirect on 401s to the login page configured for FormsAuth. Reads the FormsAuth cookie name, cookie domain, timeout and require SSL settings to configure the module accordingly. As you can see, the whole module is designed to easily replace the FormsAuth mechanism. Simply set the authentication mode to None and register the module. The rest of your application code should not be affected. such a module comes out of the box. www.leastprivilege.com - Thursday, February 9, 2012 | -
| The Best from DevelopMentor | MORE | - Ninject WCF Extensions for RESTful Services
had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. There you simply add code to a RegisterServices method in order to load your Ninject modules and perform the bindings. Things get a little tricky, however, if you want to expose both SOAP and REST endpoints from the same WCF service. Named( "Rest" ).WithConstructorArgument( NinjectWebCommon.cs ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 - Simple WCF SOAP-REST Multi-Project Template
did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints. My other REST and SOAP templates are intended as a starting point for more real-world WCF services. Search for “WCF SOAP-REST” in the Online Gallery, then click Download to install the extension. Then to use the template, simply select New Project from the File menu, click on the WCF category and select “WCF SOAP and REST Simple Service.” Here is code in the client project that uses SOAP and REST to communicate with the service. DevelopMentor Courses - Monday, June 11, 2012 - IIS & RESTful Services #FAIL
see here for a complete module including IIS management integration: [link]. really? when will super duper IIS finally support non-Windows accounts for HTTP authentication? link]. www.leastprivilege.com - Wednesday, July 21, 2010 - Replacing ASP.NET Forms Authentication with WIF Session Authentication (for the better)
This module is a sub class of the standard WIF session module, adding the following features: Handling EndRequest to do the redirect on 401s to the login page configured for FormsAuth. Reads the FormsAuth cookie name, cookie domain, timeout and require SSL settings to configure the module accordingly. As you can see, the whole module is designed to easily replace the FormsAuth mechanism. Simply set the authentication mode to None and register the module. The rest of your application code should not be affected. such a module comes out of the box. www.leastprivilege.com - Thursday, February 9, 2012 - Peeling Back the Onion Architecture
public class ProductController : Controller { // Services will be injected private IProductService _productService; public ProductController( IProductService productService ) { _productService = productService; }. // // GET: /Product/ public ActionResult Index() { // Get products var products = _productService.GetProducts (selectedCategoryId); // Rest of method follows. } }. There is a private RegisterServices method where you can bind local service implementations and load Ninject modules. Download the code for this article. This is where the “Onion Architecture” comes in. Enjoy. Tony and Zuzana's World - Saturday, October 8, 2011 - Global Error Handling in ASP.NET MVC 3 with Ninject
In my last blog post I explained how to decouple infrastructure concerns, such as logging, from the rest of your application using a Dependency Injection container, such as Ninject. There you can load a Ninject module for binding the ILoggingSservice to a concrete implementation. private static void RegisterServices( IKernel kernel) { // Load logging module kernel.Load( new LoggingModule ()); // Bind exception handling filter kernel.BindFilter< HandleExceptionFilter > ( FilterScope.Global, 0).When(r Download the code for this blog post. string.Empty; _view = view ?? Tony and Zuzana's World - Friday, October 21, 2011 - Need WIF Training?
The course includes extensive lab material where you take standard application and apply all kinds of claims and federation techniques and technologies like WS-Federation, WS-Trust, session management, delegation, home realm discovery, multiple identity providers, Access Control Service, REST, SWT and OAuth. In this module you will learn the basics of the WIF programming model and how WIF integrates into existing.NET code. In the spirit of the preceding modules, we will have a look at how WIF integrates into the (SOAP) web service world. Or contact me directly! Day 2. www.leastprivilege.com - Wednesday, November 9, 2011 %>
| | |