| |
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.
|
4 Articles match "How To"
See all articles with
"How To"
| The Latest from Marcus' Blog | MORE | | Sandboxed execution and performance Compared to calls inside an appdomain, all of these options are dark slow. Like most interesting questions, this question is not easy to answer. do not claim that I have the ultimate answer to this question, but I want to explain my opinion here. At the end of the day it comes down to the question what are the real benefits an AppDomain can give you? For now it is sufficient to know that AppDomains can provide isolation; they are boundaries especially for. am not aware of such a case, but I do not dare to say “no” here. configuration. get. {. Marcus' Blog - Thursday, October 15, 2009 Dangers of /clr and /clr:pure in sandboxed execution scenarios: Thread-promotion can bypass the sandbox! One of the benefits of managed code is sandboxed execution: To avoid that malicious code is executed by plug-ins, an application does not need to use a separate language with restricted features. If your library has to interoperate with native code, you should surely know about a pitfall that can easily allow a user of your library to bypass the sandbox. In this post, I will explain this pitfall and how to avoid it in your libraries. To execute code in a sandbox, the CLR offers an API called the simple sandboxing API. include. Program::Main(); }. Marcus' Blog - Friday, October 9, 2009 Marshalling native function pointers Now that the book is written and all urgent tasks I had to defer due to the book are done, I find some time to blog about technical topics. Recently, a customer asked me how to marshal function pointers across managed / unmanaged interop boundaries. If you know a simple API and two attributes and if you are aware of a pitfall specific to marshaling function pointers, the job can be quite easy. To discuss this topic, consider the following simple API: namespace NativeAPI. {. The managed equivalent to a native function pointer is a delegate. Marcus' Blog - Friday, April 6, 2007 | | The Best from Marcus' Blog | MORE | | Sandboxed execution and performance Compared to calls inside an appdomain, all of these options are dark slow. Like most interesting questions, this question is not easy to answer. do not claim that I have the ultimate answer to this question, but I want to explain my opinion here. At the end of the day it comes down to the question what are the real benefits an AppDomain can give you? For now it is sufficient to know that AppDomains can provide isolation; they are boundaries especially for. am not aware of such a case, but I do not dare to say “no” here. configuration. get. {. Marcus' Blog - Thursday, October 15, 2009 Dangers of /clr and /clr:pure in sandboxed execution scenarios: Thread-promotion can bypass the sandbox! One of the benefits of managed code is sandboxed execution: To avoid that malicious code is executed by plug-ins, an application does not need to use a separate language with restricted features. If your library has to interoperate with native code, you should surely know about a pitfall that can easily allow a user of your library to bypass the sandbox. In this post, I will explain this pitfall and how to avoid it in your libraries. To execute code in a sandbox, the CLR offers an API called the simple sandboxing API. include. Program::Main(); }. Marcus' Blog - Friday, October 9, 2009 How to use app.config files in Visual C++ 2005 projects Before the target application is started, (with or without a debug session), the language package ensures that the app.config file is automaticallly copied to the target application's configuration file. Visual C++ does not have this feature, however it is easy to get the same: Add a file named app.coinfig to a Visial C++ project and choose the following project settings: Command line: type app.config > "$(TargetPath).config". For most Visual Studio.NET language integrations, app.config files are treated specially. config". Outputs: "(TargetPath).config". config". Marcus' Blog - Friday, November 11, 2005 | - Marshalling native function pointers
Now that the book is written and all urgent tasks I had to defer due to the book are done, I find some time to blog about technical topics. Recently, a customer asked me how to marshal function pointers across managed / unmanaged interop boundaries. If you know a simple API and two attributes and if you are aware of a pitfall specific to marshaling function pointers, the job can be quite easy. To discuss this topic, consider the following simple API: namespace NativeAPI. {. The managed equivalent to a native function pointer is a delegate. Marcus' Blog - Friday, April 6, 2007 %>
355 Articles match "How To"
See all articles with
"How To"
| The Latest from DevelopMentor | MORE | | Unit testing code depending on the ASP.NET #WebApi HttpClient 'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. This class uses the HttpClient to request the data from the service and extracts the books from the body before returning them. If we want to test this class we need to pass in an HttpClient object. This HttpMessageHandler is used as the pipeline to send requests and we can completely replace this with our own implementation. 14: {. The Problem Solver - Monday, May 20, 2013 Using repeating elements in #AngularJS 'Index: Getting started with AngularJS Creating an AngularJS Controller The AngularJS $scope is not the MVC Model Using repeating elements in #AngularJS In the previous posts I showed how to get started with AngularJS and use some of the basic AngularJS directives to data bind. In these examples I uses a really simple single element to bind to. However in lots of business cases you really need to display a list of repeating elements. Fortunately this is really easy to do. Take a look at the simple list of people below. 2: 3: $scope.people = [. The Problem Solver - Friday, May 10, 2013 A Roundup of MongoDB Management Tools Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. It’s time to look around and see what management / monitoring tooling is around these days for MongoDB. There are many different options to choose depending on your platform and use-cases. Key features : Complete (albeit command-line only) access to MongoDB. So you should take the time to learn it properly. Especially since you’ll need to know most of the features to take advantage of Robomongo above anyway. SQL Server Management Studio ). Michael C. Kennedy's Weblog - Monday, April 22, 2013 | -
| The Best from DevelopMentor | MORE | - How to improve a team's velocity?
By way of wrapping up my velocity mini-series ( Two ways to fill and iteration , Filling an iteration too well , and Velocity Targeting and Velocity Inflation ) I’m going to end with some advice on how to improve a team’s velocity. Over time these add up to big improvements. To use economic logic: this is about improving the supply-side. The supply-side argument (largely monetarist) suggests the way to solve unemployment is not to increase demand (Keynes style) but to loosen and liberalise the labour market. But back to software. Allan Kelly's Blog - Thursday, July 1, 2010 - How to rip audio books
So i listen to a lot of audio books, and here's how i create the mp3 of them. Overview we are going to create bite size files about 30 minutes each. link] 4) set your encoding bitrate to 64k & stereo, this is a very high quality audio book. To do this double click a track. then label them, and create the id tags. finally we'll attach a picture. Make sure the book is UNABRIDGED 1) get a ipod - i prefer the nano. link] Ripping 2) download audiograbber & install. link] 3) download lame encoder & install. select the Sectors>Last. And there you go Llewellyn Falco - Sunday, July 6, 2008 - How to build a Development/Test/Demo CA
So I ended up running Windows Cerificate Services which proved to be an easy to use, robust solution. just had to rebuild my Test CA (on Hyper-V) so I thought I'll document the important steps (for self-reference and whoever might be interested). They usually expire on the very day where you have to do an important demo. Now by default there is an entry pointing to the CA's Netbios name. better solution is to create a revocation list once, and store that at a publicly available location. Next you have to publish a CRL. Set it to e.g. five years. www.leastprivilege.com - Thursday, August 14, 2008 - How to get started with Knockout.js
Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users. Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. And in all likelihood the actual HTML that needs to be generated will be quite a bit more complex. The next step people tend to take is using templates. click( function () {. $.getJSON( The Problem Solver - Monday, February 6, 2012 - How to data bind to collections using Knockout.js
I showed to to get started with the awesome Knockout.js In this post I am going to show how easy it is to load a collection of items from a REST service and data bind to the complete collection. To data bind to collections of data Knockout supports the foreach data binding. In the example below I am using an html to display a list of books. The has the data binding attribute so its contents are going to be repeated for each item in the collection being used, books in this case. and controlling updates using Knockout.js Title. The Problem Solver - Wednesday, February 15, 2012 %>
| | |