| |
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.
|
5 Articles match "IIS","URL"
| Related DevelopMentor Courses | MORE | | Secure WCF REST Services with a Custom UserNamePasswordValidator If you’re hosting in IIS (or IIS Express), you’re pretty much done. You may also need to grant permission for the process hosting your service to register a url with Http.Sys. netsh http add urlacl url=https://+:2345/ user=NetworkService. Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and use SSL to secure messages traveling over HTTP. netsh http add sslcert ipport=0.0.0.0:2345 DevelopMentor Courses - Monday, May 28, 2012 Essential ASP.NET MVC Training Part of this overview will include looking at URL routing, model binding and the Razor view engine. URLs and Routing URL Routing is the part of the framework responsible for examining incoming requests and locating the code responsible for processing those requests. In this module we will examine how to configure the URLs that will be handled by your application and how those URLs can be customized. These are APIs to encapsulate rendering common markup such an input fields, hyperlinks, forms and URLs. How can I build unit tests for my MVC application? DevelopMentor Courses - Wednesday, February 22, 2012 Guerrilla ASP.NET MVC and HTML5 Training How can I use Visual Studio to deploy to IIS? This module covers the architecture of Internet Information Server 7 (IIS 7) which is Microsoft's latest version of its web server product. Part of this overview will include looking at URL routing, model binding and the Razor view engine. URLs and Routing URL Routing is the part of the framework responsible for examining incoming requests and locating the code responsible for processing those requests. These are APIs to encapsulate rendering common markup such an input fields, hyperlinks, forms and URLs. DevelopMentor Courses - Monday, June 27, 2011 |
11 Articles match "IIS","URL"
| The Latest from DevelopMentor | MORE | | Secure WCF REST Services with a Custom UserNamePasswordValidator If you’re hosting in IIS (or IIS Express), you’re pretty much done. You may also need to grant permission for the process hosting your service to register a url with Http.Sys. netsh http add urlacl url=https://+:2345/ user=NetworkService. Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and use SSL to secure messages traveling over HTTP. netsh http add sslcert ipport=0.0.0.0:2345 DevelopMentor Courses - Monday, May 28, 2012 About logins and searches as resources A reader posted a question in my blog post about REST services and URL’s about modeling search and login as a resource. About using [link] as a URL in a REST service The URL [link] suggest that there is a resource login while login clearly is an action, not a resource. Now you might create user sessions and in that case you might have a URL like [link] where you can create and delete a users session. Another, unrelated to the URL, thing here is that REST services should be stateless in order to promote scalability. You don’t create or delete logins. Enjoy! The Problem Solver - Monday, July 18, 2011 About logins and searches as resources A reader posted a question in my blog post about REST services and URL’s about modeling search and login as a resource. About using [link] as a URL in a REST service The URL [link] suggest that there is a resource login while login clearly is an action, not a resource. Now you might create user sessions and in that case you might have a URL like [link] where you can create and delete a users session. Another, unrelated to the URL, thing here is that REST services should be stateless in order to promote scalability. You don’t create or delete logins. Enjoy! The Problem Solver - Monday, July 18, 2011 | -
| The Best from DevelopMentor | MORE | - Using the WCF Web API in an ASP.NET MVC application
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. "{controller}/{action}/{id}" , // URL with parameters. "{controller}/{action}/{id}" , // URL with parameters. These steps, and adding the required IBooksRepository and its implementation, result in a working service the URL “books” maps to the collection of all books and the URL “books/3” maps to the book with id 3 using the template. Navigating to the URL in browser results in the following: Pretty nice. The Problem Solver - Monday, June 13, 2011 - Claims Authorization in WIF Beta 2 – ASP.NET and WCF Integration
In addition to using the claims authorization manager manually like I showed you in the last post, you can also opt-in to per-request claims authorization (think of it as a replacement for the “classic” URL authorization module in ASP.NET / IIS). The AuthorizationContext that gets passed in the manager consists of the current IClaimsPrincipal , the request URL and the HTTP method. In the previous post I illustrated how the basic claims authorization infrastructure in WIF (formerly Geneva) works. ASP.NET. As usual things are a little more complex in WCF. www.leastprivilege.com - Tuesday, July 21, 2009 - Secure WCF REST Services with a Custom UserNamePasswordValidator
If you’re hosting in IIS (or IIS Express), you’re pretty much done. You may also need to grant permission for the process hosting your service to register a url with Http.Sys. netsh http add urlacl url=https://+:2345/ user=NetworkService. Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and use SSL to secure messages traveling over HTTP. netsh http add sslcert ipport=0.0.0.0:2345 DevelopMentor Courses - Monday, May 28, 2012 - About logins and searches as resources
A reader posted a question in my blog post about REST services and URL’s about modeling search and login as a resource. About using [link] as a URL in a REST service The URL [link] suggest that there is a resource login while login clearly is an action, not a resource. Now you might create user sessions and in that case you might have a URL like [link] where you can create and delete a users session. Another, unrelated to the URL, thing here is that REST services should be stateless in order to promote scalability. You don’t create or delete logins. Enjoy! The Problem Solver - Monday, July 18, 2011 - ASP.NET Routing in Windows Azure Using WebForms
It gained popularity as the part of ASP.NET MVC which channels requests for a given URL to the right controller action. With ASP.NET Routing you can construct search engine optimized and human friendly URLs such as these: [link]. Here part of the URL ( tag or user ) selects the page and part of the URL ( everything or codinghorror ) are effectively query parameters to the page. If you get routing working for IIS 7 in your web app, you can effectively deploy it to Azure. But in the Azure Development Fabric you'll see this: The problem is you need to tell IIS 7.5 - Article: 10 Features in.NET 4.0 that made Me Smile
svc in our RESTful urls in IIS. But this falls apart with WCF REST when we host it in IIS. I recently wrote another article for DevelopMentor 's Developments newsletter (not subscribed yet? see top-right of this page ). This one is entitled. 10 Features in.NET 4.0 that made Me Smile. Read it on the DevelopMentor website: [link]. am republishing it below for you all to enjoy on your RSS readers. Cheers, Michael. 10 Features in.NET 4.0 that made Me Smile. have been reviewing some of our upcoming classes at DevelopMentor this week. bet some of them make you smile too. Michael C. Kennedy's Weblog - Wednesday, December 16, 2009 - Using the WCF Web API in an ASP.NET MVC application
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. "{controller}/{action}/{id}" , // URL with parameters. "{controller}/{action}/{id}" , // URL with parameters. These steps, and adding the required IBooksRepository and its implementation, result in a working service the URL “books” maps to the collection of all books and the URL “books/3” maps to the book with id 3 using the template. Navigating to the URL in browser results in the following: Pretty nice. The Problem Solver - Monday, June 13, 2011 %>
| | |