Last post May 07, 2010 07:53 AM by bhavyagupta
May 04, 2010 12:50 PM|disziplin|LINK
I am new to App Blocks and would like to use them to support my 3.5 .net web app. I dl'ed and installed the Enterprise library, but I cannot find the application blocks to reference them in my app.
What I DO see when I add a refernce to (for example) Enterprise Library Data Library Application Block is a new reference in my project to Microsoft.Practices.EnterpriseLibrary.Data, which doesn't appear to be the same thing (e.g. no SQLHelper class).
Can anyone please tell me what I am doing wrong here?
May 05, 2010 06:14 AM|Jalpesh P. Vadgama|LINK
Application blocks are part of enterprise library now. You can add reference to following dlls from enterprise library.
You need to reference enterprise library data access application block.
Here is the link that might help you.
May 07, 2010 05:15 AM|cnranasinghe|LINK
Add following referece to your project. Dlls are stored in C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Bin folder
simply you can insert records as following
public void InsertTestData()
Database db = DatabaseFactory.CreateDatabase(Database_Connection_Name);
DbCommand command = db.GetStoredProcCommand(SP_InsertTestData);
db.AddInParameter(command, "@vcName", DbType.String, txtName.text);
db.AddInParameter(command, "@vcAge", DbType.String, txtAge.text);
catch (Exception ex)
May 07, 2010 07:53 AM|bhavyagupta|LINK
you have to create the new application settings in your entrerprise library over there u have to add those blocks which u need if for ur application...
This is how u can do as below mentioned steps:
1. click start
3.select Microsoft Patterns and practices
4. select Enterprise Library
5.select Enterprise Library configuration
6. click on file, then open application
7. select EntLibConfig.exe.config
8.Right click on Enterprise Library configuration which is showed in left hand side. then select new application.
9.Now choose which block of enterprise library u need.
Please do let me know about the solution i have provided..Mark it as answer if its solution for the problem.......<input name="ctl00$ctl00$bcr$bcr$ctl00$PostList$ctl05$ctl07$ctl01" id="ctl00_ctl00_bcr_bcr_ctl00_PostList_ctl05_ctl07_ctl01_State"
Please do let me know about the solution i have provided..Mark it as answer if its solution for the problem