| |
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.
|
6 Articles match "Restful"
See all articles with
"Restful"
| The Latest from Mark's Blog of Random Thoughts | MORE | | MVVM Helpers 2.0 is live All the pre-defined services are already exported through the interface itself, so if you want to import a built-in service such as the IUIVisualizer , you can simply create a field and mark it as an [Import] and MEF will take care of the rest. … and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Play(); }. }. Mark's Blog of Random Thoughts - Friday, April 16, 2010 MVVM Helpers 2.0 is live All the pre-defined services are already exported through the interface itself, so if you want to import a built-in service such as the IUIVisualizer , you can simply create a field and mark it as an [Import] and MEF will take care of the rest. … and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Play(); }. }. Mark's Blog of Random Thoughts - Friday, April 16, 2010 The Mystery of Concurrent GC With a little WinDBG and some symbols, I think we've put the question to rest once and for all (at least for us) :-). There's been a discussion going on within DevelopMentor for a couple weeks regarding concurrent GC and when it really applies. The idea behind the concurrent collector is to do as much of the GC while the UI thread continues to process UI stuff and then only interrupt the application threads when memory is being shuffled around and fixups are occurring. This provides for more responsive UI applications at the expense of slower collections and a higher memory utilization. Mark's Blog of Random Thoughts - Friday, December 8, 2006 | | The Best from Mark's Blog of Random Thoughts | MORE | | MVVM Helpers 2.0 is live All the pre-defined services are already exported through the interface itself, so if you want to import a built-in service such as the IUIVisualizer , you can simply create a field and mark it as an [Import] and MEF will take care of the rest. … and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Play(); }. }. Mark's Blog of Random Thoughts - Friday, April 16, 2010 MVVM Helpers 2.0 is live All the pre-defined services are already exported through the interface itself, so if you want to import a built-in service such as the IUIVisualizer , you can simply create a field and mark it as an [Import] and MEF will take care of the rest. … and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Play(); }. }. Mark's Blog of Random Thoughts - Friday, April 16, 2010 Creating TFS Work Items programatically One question I get a lot when teaching the VSTS course is "How can I move tasks or bugs from our existing system into TFS?". The answer is quite simple: write a program that utilizes the Team Systems Object Model. 10: class Program. 11: {. 12: static void Main( string [] args). 13: {. 14: TeamFoundationServer tfs = new TeamFoundationServer( "TFSServer" ); 15: WorkItemStore wis = (WorkItemStore) tfs.GetService( typeof (WorkItemStore)); 16: 17: Project teamProject = wis.Projects[0]; 18: foreach (WorkItemType wit in teamProject.WorkItemTypes). 23: {. 24: }. null ). 28: {. 39: }. 40: }. 41: }. Mark's Blog of Random Thoughts - Monday, August 28, 2006 | - The Mystery of Concurrent GC
With a little WinDBG and some symbols, I think we've put the question to rest once and for all (at least for us) :-). There's been a discussion going on within DevelopMentor for a couple weeks regarding concurrent GC and when it really applies. The idea behind the concurrent collector is to do as much of the GC while the UI thread continues to process UI stuff and then only interrupt the application threads when memory is being shuffled around and fixups are occurring. This provides for more responsive UI applications at the expense of slower collections and a higher memory utilization. - Creating TFS Work Items programatically
One question I get a lot when teaching the VSTS course is "How can I move tasks or bugs from our existing system into TFS?". The answer is quite simple: write a program that utilizes the Team Systems Object Model. 10: class Program. 11: {. 12: static void Main( string [] args). 13: {. 14: TeamFoundationServer tfs = new TeamFoundationServer( "TFSServer" ); 15: WorkItemStore wis = (WorkItemStore) tfs.GetService( typeof (WorkItemStore)); 16: 17: Project teamProject = wis.Projects[0]; 18: foreach (WorkItemType wit in teamProject.WorkItemTypes). 23: {. 24: }. null ). 28: {. 39: }. 40: }. 41: }. - The Mystery of Concurrent GC
With a little WinDBG and some symbols, I think we've put the question to rest once and for all (at least for us) :-). There's been a discussion going on within DevelopMentor for a couple weeks regarding concurrent GC and when it really applies. The idea behind the concurrent collector is to do as much of the GC while the UI thread continues to process UI stuff and then only interrupt the application threads when memory is being shuffled around and fixups are occurring. This provides for more responsive UI applications at the expense of slower collections and a higher memory utilization. %>
193 Articles match "Restful"
See all articles with
"Restful"
| The Latest from DevelopMentor | MORE | | Unit testing code depending on the ASP.NET #WebApi HttpClient But with a REST service there is both a client and a service component. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. The GetBooks() function gets all books from the REST service. Not a whole lot but the REST convention is to return both an HTTP 201 Created status as well as the location of the new resource in an HTTP header. 'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. 7: _httpClient = httpClient; 8: BaseUrl = new Uri( "[link] ); 9: }. The Problem Solver - Monday, May 20, 2013 Unit testing a ASP.NET WebAPI controller 'One of he goals of the ASP.NET WebAPI is to make REST style API controllers more testable than more traditional WCF services where in the past. ASP.NET REST WebAPI For the most part that is true but there are cases where an ApiController depends on the actual incoming request and its data and things can become a bit more difficult. Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 8: 9: }. 11: {. 17: {. The Problem Solver - Sunday, May 12, 2013 Reblogged: What should I learn to get started in.NET and web development? Because you can preview the first lesson of each course, you have about 7 hours free and the rest are all included in an affordable $29 subscription. '[ Note : I am reblogging this post which originally was posted to the LearningLine blog. Hope you all find it useful here as well]. recently had a conversation with someone who is looking to make a fresh start and become a developer (coming from other IT positions). The question they had was: What should I learn to get started in.NET and web development? How do I do that?” That’s another blog post. :). jQuery basics. Michael C. Kennedy's Weblog - Monday, May 6, 2013 | -
| The Best from DevelopMentor | MORE | - Secure WCF REST Services with a Custom UserNamePasswordValidator
< serviceBehaviors > < behavior > < serviceCredentials > < userNameAuthentication userNamePasswordValidationMode = " Custom " customUserNamePasswordValidatorType = " Security.PasswordValidator, Security " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > This is all fine and dandy, but it assumes that clients will only be talking Soap – what about REST-ful clients who don’t know a thing about Soap? Technical REST Security WCFDownload the code for this blog post here. netsh http add sslcert ipport=0.0.0.0:2345 DevelopMentor Courses - Monday, May 28, 2012 - Using HTTP status codes in a REST service
When we are building REST service we embrace HTTP and as a result we also embrace all the HTTP status codes, not just 200 and 500. www.dotnetevents.nl.NET WCF REST dotnetmagWhen we build services, or write any code for that matter, error can occur and we have to cater for those. With SOAP service we gibe a calling application information about the error by returning a SOAP fault. This SOAP fault is just another piece of XML informing the calling application about whatever was wrong. But there are far more status codes we can use. For example a database connection failed. else. {. The Problem Solver - Wednesday, July 20, 2011 - Building rich HTML 5 clients using REST services
You can download the slide from my session on Building rich HTML 5 clients using REST services here and the sample application using the WCF Web API here. www.dotnetevents.nl.NET WCF webcast ASP.NET REST dotnetmag HTML5The slides are also available on SlideShare. Enjoy! www.TheProblemSolver.nl The Problem Solver - Wednesday, October 26, 2011 - Building rich HTML 5 clients using REST services recording
For those who missed the online event about building JavaScript and HTML 5 client for a REST service build using the new WCF Web API the recordings are up. www.dotnetevents.nl.NET WCF webcast ASP.NET REST HTML5You can download the hi res recording here or download one of the other formats from the main page here. And remember there a bunch of other useful recording from other DevelopMentor instructors on the same page. Enjoy! www.TheProblemSolver.nl The Problem Solver - Thursday, November 3, 2011 - On building Restful services
lot of people will be familiar with writing SOAP style services but not everyone is quite as familiar with the REST approach so I guess that takes a bit of explanation. This subject is a bit long for a single blog post so I am going to do a number explaining what REST is, the difference with SOAP and how to build these Restful services using the WCF Web API. Of course the WCF Web API is still in a preview state so some of the technical things are subject to change over time but the general principal of building Restful services isn’t going to change a lot. Enjoy! The Problem Solver - Tuesday, June 21, 2011 %>
| | |