View Complete Post
I need to get output parameter (flag) from db after
saving record in database. I am using Microsoft Enterprise Library 4.1 for DB.
I am inserting record using I Data reader.
Not a MVC specific question, but as that's what I'm doing I thought I'll post here.
While looking into the source code of an existing application, I stumbled upon MS Enterprise Library, and as I only heard about these "application block" stuff decided to look into it.
From the theory it sounds like a pretty usefull thing and it made me wonder if other's are using it succesfully along with MVC projects (I know they are not really related!)?
Pro's and Con's?
I like the database block, as I did not get to any real database development the last 1.5 years, for instance. (Bad excuse I know). Having an IoC thrown in there (Unity) sounds like I can pretty much stop using 3rd party libraries like I do now all over the place.
I'm new to using the Logging application block. I think I have a pretty good handle on how things work. However, I'm running into a problem. I'm using the RollingFlatFileListener and I have formatted the logging template to be more like the logging we are replacing. However, in our console apps when the ConsoleTraceListener is added it still logs it out in the default text template format. Is there any way to get around this? Currently it looks like I will have to create a new TraceListener called FormattedConsoleListener that allows a text formatter to be associated with it. Is this the only way?
I'm using Enterprise Library Logging feature for logging. The issue i am facing is when the Logging message is too large(more than 65534 chars) ,complete data is not logged in the Formatted Mesage column which is of data Type nText .
I am able insert complete data if i try inserting from Sql insert Query from sql management studio. Do i need to add any attributes to data base listener or do i need to change the sp.
Is there any way to increase the WriteLog stored proc param size in EnterpriseLibrary.Logging config file ? . Please let me know.
Thanks In Advance.
I wan to use the enterprise library for the first time. Is there any samples, quick start guide or ebook is available for a quick start and learn the basics.
I have vs2008, so which version of EL should I use?
And if somebody can just brief about Enterprise Library. Because as per my understanding, is this a mixture of design patterns and some pre-made blocks of source code.
Ive just started a project that will use the enterprise library 4.1 data access code blocks. Its been years since ive used them, can anyone tell me what assemblies I need to reference in my project in order to use them ? Ive referenced
are there any others I need ?
I hope this is the right place to ask this question.
I'm trying to make a control class library. I want to have a GenericHandler as a WebResource so I could call it from the web project that will use that control.
I need this handler will get parameters from the query string and return JSON data acourding to what it get in the QS.
I know how to create JS and images WebResources, so I tried the same on a generic handler I added to the class library project but all it does is return the source of the handler file and not the result.
Is what I'm trying to do possible? If so, what should I do?
I have a class library called WEM.portal which used Resource files to localise text in my composite controls.
I store my resource files (eg MyResourceFile1.resx) in App_GlobalResources folder and then refer to them using
MyLabel1.text = My.Resources.MyResourceFile1.MyResourceKey1
This is all working ok until I create seperate files for each language such as MyResourceFile1.FR-fr.resx.
I have implemented this throughout my other web applications but the Class Library doesnt seem to want to work the same way
When I load the page it correctly showes the resourced keys which I have done through the web application BUT the resource keys in the composite controls does not seem to pick up the culture code.
Am I missing something stupid. Ive tried
MSDN Magazine March 2010
Dino Esposito builds upon his exploration of new data binding features coming in the ASP.NET Ajax Library, explaining how to implement the predictive fetch design pattern.
MSDN Magazine February 2010
When you think of data-driven Web pages, most of the time what you really have in mind is a master-detail view of some cross-related data. Dino builds an example with ASP.NET AJAX 4 and jQuery.
MSDN Magazine January 2010
Just about everyone who uses Microsoft .NET uses the Base Class Libraries (BCL).When we make the BCL better, almost every managed developer benefits. This column will focus on the new additions to the BCL in .NET 4 beta 1.
Justin Van Patten
MSDN Magazine September 2009
The Parallel Patterns Library allows you to more easily take advantage of parallelism. See what this and other Visual C++ 2010 features are in store.
MSDN Magazine February 2009
In this article, author John Torjo presents a guide to his C++ GUI library called eGUI++ and explains how it makes user interface programming easier.
MSDN Magazine June 2008
James McCaffrey shows you how to get started with UI test automation using the new Microsoft UI Automation library.
Dr. James McCaffrey
MSDN Magazine February 2008