| |
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.
|
9 Articles match "Source Code"
| Related DevelopMentor Courses | MORE | | Foundations of C# Programming and the.NET Framework Training Examine core language features such as types, variables, and control constructs Use object-oriented features such as class, interface, protection, and inheritance Perform error notification and error handling using exceptions Use properties to implement the private data/public accessor pattern Use namespaces to group related types Use delegates and events to implement callbacks Override Object class methods such as ToString Avoid dll conflicts during deployment Use dynamic binding and polymorphism to write generic code (i.e., less code!) NET 101" for developers moving to.NET. DevelopMentor Courses - Tuesday, March 1, 2011 Foundations of C# Programming and the.NET Framework Training Examine core language features such as types, variables, and control constructs Use object-oriented features such as class, interface, protection, and inheritance Perform error notification and error handling using exceptions Use properties to implement the private data/public accessor pattern Use namespaces to group related types Use delegates and events to implement callbacks Override Object class methods such as ToString Avoid dll conflicts during deployment Use dynamic binding and polymorphism to write generic code (i.e., less code!) NET 101" for developers moving to.NET. DevelopMentor Courses - Wednesday, February 22, 2012 Essential BizTalk Server Learn how Orchestration, Business Rules, and Business Activity Monitoring allow you to develop sophisticated, agile, and transparent business processes - all without writing any custom code! How can I integrate disparate systems without modifying source code in those systems? In this module we'll see how to use policies from both.Net code and inside an orchestration. We'll take an existing 'complex application' and move certain pieces of that logic outside of compiled code, and we'll use the business rules composer editor to create a policy with several rules. DevelopMentor Courses - Wednesday, February 22, 2012 |
154 Articles match "Source Code"
| The Latest from DevelopMentor | MORE | | Agile: Where's the evidence? Better code quality? Keith Braithwaite has also done some great work looking at Cyclomatic Complexity of code and there seems to be a correlation between test coverage and better (i.e. TDD and source code are relatively easy to measure. don’t know how we would have done it without Agile” “Agile has changed the way we run the company” “It is hard to imagine a world without Agile” That last company is now finding their source code base is shrinking. Each line of code is now far more expensive and they have less. My response was in two parts. Scrum? Allan Kelly's Blog - Friday, March 30, 2012 ASP.NET WebAPI Security 3: Extensible Authentication Framework In the rest of the post I am outlining some of the bits and pieces, So you know what you are dealing with, in case you want to try the code. Handlers run after the conversion from host to Web API, which means that handler code deals with HttpRequestMessage and HttpResponseMessage. If not, return a 401 status code and set the Www-Authenticate header. Look at outgoing response, if the status code is 401, set the Www-Authenticate header. The next version of.NET will fix that, and the code should become simpler then). This is fine in many situations (e.g. and 2.0 www.leastprivilege.com - Tuesday, March 13, 2012 | -
| The Best from DevelopMentor | MORE | - Zermatt: Source Code for FormsAuth STS
I got several requests to publish the full source of the FormsAuth STS I described here. Find it here. The setup is just like the passive STS/RP samples in the SDK. www.leastprivilege.com - Wednesday, September 3, 2008 - “Fluent” API for the X509 Certificate Store
It is annoying how often I write code directly against X509Store. Maybe this will end this once and for all: var cert = X509.CurrentUser.My.Thumbprint.FindFirst( "abc" ); source code here. IdentityModel www.leastprivilege.com - Friday, April 20, 2012 - Using the WCF Web API in an ASP.NET MVC application
So instead of the code above I am going to use the code below to do the same: public static void RegisterRoutes(RouteCollection routes). {. Download the source code. 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. just prefer the MVC approach, you might not. public class BooksService: IDisposable. {. The Problem Solver - Monday, June 13, 2011 - Workflow 4 and soap faults
The SendReply activity that is returning the error is configured like this: With this setup adding a Service Reference from a client application and using the following code has the expected result. Download the source code ServicesAndFaults.zip. Image by ponChiang via Flickr Note: This blog post is written using the.NET framework 4.0 RC 1 Using the ReceiveAndSendReply activity template and the WorkflowServiceHost it is easy to create a workflow service. Most of the configuration is quite straightforward. But what about faults? No big deal so far. DataContract]. Enjoy! The Problem Solver - Wednesday, March 24, 2010 - RESTful Web Services with WCF Screencast
You can also download the source code of the project built in the screencast. All information, source code, and especially tools are provided as is and on a "use at your own risk" basis. I recently got the chance to record a screencast discussing REST-oriented web services in WCF. 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). Finally, if you're willing to do without video you can download just the audio as an MP3. All content copyright Michael C. - Giving end users a list of all the SharePoint sites they have access to
Description = " Shows all sites which you have access to " > The application page just contains a ASP.NET TreeView control and the following code: Get Login of current user: login = SPContext.Current.Web.CurrentUser.LoginName; Loop through all SiteCollections inside RunWithElevatedPrivileges: SPSecurity.RunWithElevatedPrivileges( delegate (). {. prebuilt solution package can be found HERE and the full source code HERE. When You’re running a medium sized SharePoint Farm you may often get requests from end users for a list of all the SharePoint sites they have access to. The Black Knight Sings - Sunday, April 26, 2009 - Guide to Claims-based Identity and Access Control (2nd Edition)
All source code is available as well! This fell through the cracks over the summer holiday time: The 2nd edition of the Patterns & Practices “claims guide” has been released. This is excellent! We added a lot of content around ADFS, Access Control Service, REST and SharePoint. Grab it from: [link]. Or use my vanity URL: [link]. IdentityModel www.leastprivilege.com - Friday, October 28, 2011
| | |