Is Enterprise Library still relevant?

I am going to port an old C++ application to C# and intend to replace the C++ custom written cross-cutting libraries with third party cross-cutting frameworks/libraries.   In particular, I have been reviewing the Enterprise Library
for the past week.   One issue that raises a significant red flag is that the version 6 of the Enterprise Library is not backwards compatible with version 5.   For example, a review of the developer guides from both versions shows that
the security, cashing and cryptography blocks found in version 5 have been removed in version 6.  
I have not used the Enterprise Library before.  But the lack of backwards compatibility alone seems to be a reason enough to avoid using Enterprise Library.  That is, significant changes between versions would seem to make this library very impractical
to use.   So my question is the Enterprise Library still relevant/practical or would I be better off using other frameworks/libraries for crossing cutting issues (e.g.: FluentValidation, log4net)?

 Hi
IB00,
Based on your description,  you case related to Enterprise Library. I am afraid this is out of our support.
Visual C# forum is discuss and ask questions about the C# programming language, IDE, libraries,
samples, and tools.
For your issue, I would recommend you to ask in CodePlex. Here is a special forum for Enterprise Library.
https://entlib.codeplex.com/discussions
Thanks for your understanding and effort.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Using Enterprise library 2

    Hi every one,
    iam using .net2 enterprise library and oracle as my background db.
    can any one guide me in using the data access application block for .net2.
    i wrote a sample stored procedure which returns cursors as output parameter.
    is there any way to handle it.
    can any one provide me an example for this which will helpfull for me.
    thanks

    Microsoft's Petshop example application uses the Microsoft Database Access Application Block (DAAB) with Oracle 9i. This was the DAAB from before the Enterprise Library, when it was still separate.I am guessing they use the MS Oracle provider instead of ODP.
    http://msdn2.microsoft.com/en-us/library/ms954623.aspx
    I don't care for DAAB myself. It seems terribly inefficient. It's a late-bound architecture where they have to hit the DB first to get metadata before executing a query. It's true that they cache the metadata, but it's better in my mind if you know the types ahead of time. Their approach is fine for dynamic SQL in cases where you can't know the types ahead of time, but that's a rare situation. With most dynamic SQL you know the types of the columns you might access.
    The Enterprise Library is also pretty heavy. It's hard to use only part of it. Once you start using it, you're stuck with a bunch of blocks, like caching, logging, configuration, etc.
    Eric

  • Photos and photo albums disappeared, but iPhoto library still has 60 GB.

    Photos and photo albums disappeared, web gallery titles remain but show (0). iPhoto library still has 60 GB size. How do I retrieve photos, events and albums. Thanks in advance.

    Are you getting an "!" in the window when you try to edit a photo. The "!" means that the library has lost the file path to the original file. This happens when there has been an interruption to iPhoto while it is writing to it's database file, Library6.iPhoto. Moving, renaming files or folder inside the library package while in the Finder is another way you can get that indication. Try the three fixes below in order as needed:
    1 - launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    2 - rebuild the library using iPhoto Library Manager as follows:
    Using iPhoto Library Manager to Rebuild Your iPhoto Library
    1 -Download iPhoto Library Manager and launch.
    2 -Click on the Add Library button, navigate to your User/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File->Rebuild Library menu option
    4 - In the next window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: It may take some time to create the new library if you have a lot of photos. Report back on how long it took and how many photos you have in the library so we can give other users an idea of how long it may take.
    3 - start over with a new library and import the Originals folder from your original library as follows:
    Creating a new library while preserving the Events from the original library.
    Move the existing library folder to the desktop.
    Open the library package like this.
    Launch iPhoto and, when asked, select the option to create a new library.
    Drag the Originals folder from the iPhoto Library on the desktop into the open iPhoto window.
    This will create a new library with the same Events as the original library if you have the Finder checkbox unchecked in the Events preference pane.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Issue with Enterprise Library's Data Access Application

    I do not know if I have the correct forum for this post. I hve put it in what I believe is the most likely best forum, but please move this if there is a more germane forum for it.
    I have inherited a solution (C#) which uses the reference Microsoft.Practices.EnterpriseLibrary.Data. The reference was included with the codebase I inherited, there are no missing references.
    When the library is called with:
    Microsoft.Practices.EnterpriseLibrary.Data.ExecuteDataSet("configConfigurationKeysSelect", parameterValues);
    It complains with the runtime error:
    [InvalidOperationException: The stored procedure 'configConfigurationKeysSelect' doesn't exist.] (I have put the full trace below)
    This is true, there IS no stored procedure  'configConfigurationKeysSelect'  but there is a table named  'configConfigurationKeys.'  
    I assumed this stored procedure is built on the fly to select from that table? Must I do something regarding  Enterprise Library's Data Access Application so that this works on the system I am running it on? (I am simply accessing the references
    included with the sourced for this, nothing else). I am looking for some guidance here, and thanks in advance.
    Stack trace on error as:
    [InvalidOperationException: The stored procedure 'configConfigurationKeysSelect' doesn't exist.]    System.Data.SqlClient.SqlCommand.DeriveParameters() +5344249
       System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +115
       Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase.DeriveParameters(DbCommand discoveryCommand) +72
       Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command) +251
       Microsoft.Practices.EnterpriseLibrary.Data.ParameterCache.SetParameters(DbCommand command, Database database) +225
       Microsoft.Practices.EnterpriseLibrary.Data.Database.AssignParameters(DbCommand command, Object[] parameterValues) +53
       Microsoft.Practices.EnterpriseLibrary.Data.Database.GetStoredProcCommand(String storedProcedureName, Object[] parameterValues) +161
       Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteDataSet(String storedProcedureName, Object[] parameterValues) +70
    Enterprise Library's Data Access Application 

    This is true, there IS no stored procedure  'configConfigurationKeysSelect'  but there is a table named  'configConfigurationKeys.'  
    I assumed this stored procedure is built on the fly to select from that table? Must I do something regarding  Enterprise Library's Data Access Application so that this works on the system I am running it on? (I am simply accessing the references
    included with the sourced for this, nothing else). I am looking for some guidance here, and thanks in advance.
    Why do you assume that a stored procedure is create on the fly?  Looking at the documentation for this component, I don't see a mention of such.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Unable to install Enterprise Library 2007 on Windows 7

    I need Enterprise Library 2007 for my project. When i try installing, it throws the error : Microsoft .Net 2.0 needed . I try to install microsoft .Net 2.0, then it throws the error : .Net 2.0 is already part of the operating system. I uninstalled .net
    4.5.1 from my system and tried installing 2.0, yet it throws the same error. Is there any workaround for this. ( I have installed microsoft visual studio 2010 ultimate also in my system)

    .NET Framework 3.5 SP1 is an integral part of your Windows 7 OS. .NET 3.5 includes 2.0 and 3.0. That is why you cannot install 2.0, 3.0 or 3.5 on Windows 7 as a user.
    You can check for .NET 3.5 SP1 on your system as follows:
    Control Panel->Programs and Features... Turn Windows Features On and Off.
    You can check the integrity of .NET 3.5 with this tool:
    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
    Run the tool with .NET 2.0 selected, then post the LAST 15 lines of the tool log here.
    BTW .NET 4.0/4.5 are completely unrelated to .NET 3.5. They are separate versions. 4.0 is required by VS 2010.
    You should note that "Enterprise Library 2007", presuming you mean Enterprise Library 3.1 - May 2007, is an OLD version designed for use with VS 2005 (now out of support). That may be the reason for your issue.
    Read here about available versions:
    https://msdn.microsoft.com/library/cc467894.aspx

  • Enterprise library 3.1 installation issue on windows 7

    I am trying to install enterprise library 3.1 (May 2007), but it givesme the following error.      the installer requires the .NET framework ver 2.0 which is not present on this computer) i have also installed visual studio ultimate-
    2010 now, what should i do to resolve this error? should i install just .net 2.0? will it create any  issues if i do that.

    You can try to install the .NET Framework 2.0 on your computer:
    http://www.microsoft.com/en-gb/download/details.aspx?id=1639
    http://www.microsoft.com/en-US/download/details.aspx?id=6523 (64-bit)
    ..and then use this installer for the Enterprise Library 3.1:
    http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=9921
    Or you could download a later version of the Enterprise Library that is actually officially supported on Windows 7. The active and supported versions of the Enterprise Library are 5 and 6. The older ones have been retired as stated here:
    https://msdn.microsoft.com/en-us/library/ff648951.aspx
    Enterprise Library 6.0:
    http://www.microsoft.com/en-us/download/details.aspx?id=38789
    Enterprise Library 5.0:
    https://www.microsoft.com/en-us/download/details.aspx?id=15104
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • HT1386 When I sync my itunes and iPhone... most of the library still doesn't show up on my iPhone... how can i sync my entire library to my iPhone

    When I sync my itunes and iPhone... most of the library still doesn't show up on my iPhone... how can i sync my entire library to my iPhone

    Have you copied your content over from your old computer and onto the new on ? If not, and you still have your old computer, then there a number of methods described on this page which you can use to copy your library over : http://support.apple.com/kb/HT4527 . If you no longer have your old computer then have you got a backup of your content that you can copy onto the new computer and add into iTunes ?

  • Backup 3 v3.2, is it still relevant?

    Hi
    I have the Backup 3 application on my iMac, running Mountain Lion.
    I am also using time machine.
    I was in the Apple Store today (not with my iMac).  I couldn't find the application on any of their machines.  Their techncians were not familiar with the program.
    Is Backup still relevant to use?

    Hi
    I would delete the oldest back ups first, but it depends on the size of the drive and the size of your hard disk.
    look for full backups in there too delete the oldest if there is more than 1, however I would probably just format the drive, wiping it clean and do a fullbackup leaving the machine on overnight with sleep turned off in system preferences if it were me. Then in the morning everything you need is there!
    If you want to hold onto some older files you no longer have but that has been backed up in the past, youll need to use time machine to locate those files, restore them and then do a full backup.
    Kind Regards
    Andrew

  • Using both Enterprise library and Entity framework as DAL for same application

    We have been using EF for large amount of data  retrieval in our current application. We faced performance related issues with using EF with large data retrieval and manipulation.
    We need to extend the same project with some additional functionality similar to what currently exists in the application and uses EF.
    For the new functionality, we do not want to use EF and want to use enterprise library for Data access.
    My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access, are there any known issues?
    if there are any best practices to be followed please share .

    We have been using EF for large dataset retrieval in our current application. We faced performance related issues with using EF for large data set's  .
    Dataset? What are you talking about?  If you are using the salad bowl, the dataset with datatables, then here is the reason not to use them.
    http://lauteikkehn.blogspot.com/2012/03/datatable-vs-list.html
    My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access, are there any known issues?
    What is Entlib going to buy you in performance? It's going to buy you nothing. You'll be better of going to the EF backdoor, use SQL command objects, inline T-SQL, sprocs, datareder and using custom objects or objects off of the virtual model returning a
    single object or objects in a collction., if you are concerned about performance.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx
    You'll probably be better of going to Entity SQL, using a datareader, collection and using custom objects or objects off of the model, if you are concerned about query performance.
    https://msdn.microsoft.com/en-us/library/vstudio/bb738684(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/vstudio/bb387145(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/vstudio/bb399560(v=vs.100).aspx
    My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access,
    are there any known issues?
     A nightmare, no consistency and complete Helter Skelter is what I see. Been there and seen it in action with different technologies doing the same thing in a solution.

  • Why does the old iphoto library still remain after the upgrade? Takes up HUGE space on my laptop

    Why does the old iphoto library still remain after the upgrade? Takes up HUGE space on my laptop

    Why does the old iphoto library still remain after the upgrade? Takes up HUGE space on my laptop
    Actually, it only looks like it takes up additional space. The file size shown is misleading.  When you migrate an iPhoto library to Photos, both libraries will show the media files using hard links. The actual file content of the image files and videos is shared by hard links:
    See this linked document:   Photos saves disk space by sharing images with your iPhoto or Aperture libraries - Apple Support
    You will gain no free storage at all by deleting either the iPhoto Library or the Photos library.  So keep both libraries until you are very sure, that Photos is working well  on your Mac and your iPhoto library has been migrated correctly. Also, check, if you like the workflow in Photos. It is very different from iPhoto and some iPhoto features are not supported.
    There will be no easy way back to iPhoto, if you delete your iPhoto library or the iPhoto application. Apple does not sell it any more.

  • Video tutorials for After Effects CS4 (and some still relevant from CS3)

    I just added a post to my blog about some new video tutorials that we posted (and some old ones that are still relevant):
    video tutorials for After Effects CS4 (and some still relevant from CS3)

    Thanks Todd!

  • Is Perian Still Relevant in 2013?

    I use a MID - 2012 Mac Pro; run Mavericks.  Is "Perian" still relevant in 2013?

    Thanks alot, QuickTimeKirk!!

  • My PC Harddrive died along with all the CD's that I have saved to the Itunes library.  My IPOD touch has the library still so I would like to send the data from the IPOD to the PC to restore my library.  Is this possible?

    My PC Harddrive died along with all the CD's that I have saved to the Itunes library.  My IPOD touch has the library still so I would like to send the data from the IPOD to the PC to restore my library.  Is this possible?

    Yes, by using a third-party utility such as Phone to PC or Phone to Mac.
    Also see How to dowload purchased music and Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Windows Service Enterprise Library Data Access Application Blocks Connection Pooling Issue

    Hello,
    We are developing a windows service using c# .net v 4.5.1 which communicates with SQL database (SQL 2008 R2 x64), communication with SQL server is done using Enterprise Library data access block v 6, The windows service does a file copy process in bulk &
    updates the database about the status of file copy, it is observed that as soon as we start the service the number of connections get max out & we start receiving a "Timeout expired.  The timeout period elapsed prior to obtaining a connection
    from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached."
    This issue is only observed when we run the code logic by deploying it as a windows service, When we run the exactly same code as a standalone exe (right click -> run as administrator) / non windows service, the connections on database are not exceeded
    & we do not receive the above mentioned error.
    The code block which makes calls to the database is under the c# "using" statement, hence connection pooling should be handled by default.
    Could you please recommend any suggestions on areas which I might have missed on to investigate this issue.
    Thanks in advance.

    Hi
    The issue got resolved after refresh the SCOM Data base access service  account in SQL 2012.
    Unable to launch the operations manager 2012 R2 console after extended the C drive of the SQl server ,getting error "The Data
    Access service is either not
    running or not yet initialized.
    Got to your SQL server -->databases-operationsmanager--security-users--locate the daa service account and refresh.issue fixed and am able to luanch.

  • Application Insights Trace Listener w/ Enterprise Library Logging

    Is it possible to use Application Insights with Enterprise Library Logging?
    I have not had much success in setting up the ApplicationInsightsTraceListener in place of the Azure DiagnosticMonitorTraceListener that I was using previously, but it isn't immediately clear as to why.
    Just wanted to make sure I wasn't completely off track!

    lukegriffin,
    I'm sorry to hear you are having trouble with getting the TraceListener setup in an Azure scenario. If you provide some more details perhaps I can help you out.
    We don't currently have an adapter to support Enterprise Library Logging. If you would like this could I ask you to log and vote for it at
    http://aka.ms/aiuservoice
    and we will track the priority.
    Thanks,
    Joshua Weber 

Maybe you are looking for

  • Apple TV busy?

    Hi folks~ I've been having problems with my apple TV over the last couple of days. The movies synced to the Apple TV have suddenly stopped staying synced. When I start up iTunes, all my movies start syncing all over again. Now today, I received the m

  • ESI is getting deducted though the salary is high for one employee

    Hi Experts, I have one employee for whom the ESI is getting deducted in january salary. though the salary is 16000 for this employee. what could be the reason? and hoiw to solve this error? Thanks and Regards Jaydeep Jadhav SAP HR Consultant

  • Level of moderation in SDN

    From the last few days i think the level of moderation in SDN is decreased. Report abuse button with comments like cross postings,wrong forums,failed to search properly, very basic questions is not working. i think some moderators are busy and some o

  • KKRV- Urgent please ,Data collection for product drill down

    Hi I was trying to run the report for variances but no data is pulling, says no summarization, i checked the KKR0 for summariazation, what settings do we need to do activate or work the reports? Thanks, Nivi Message was edited by:         Nivi ram

  • CORBA: Using IOR with Aurora Visibroker

    The problem is about Oracle CORBA session oriented: I would like to store an IOR in an Oracle Database in order to use it when I need the object associated but, If I have the IOR of an object instantiated from a class placed in the Name Service Conte