-
Recent Posts
Recent Comments
Archives
- May 2024
- October 2023
- September 2022
- November 2021
- May 2021
- April 2021
- January 2021
- February 2020
- May 2019
- August 2018
- July 2018
- April 2018
- December 2017
- November 2017
- October 2017
- June 2017
- May 2017
- April 2017
- February 2017
- December 2016
- September 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
Categories
Meta
Category Archives: PetShop4.0
Pet Shop 4.0 – Abstract Factory Pattern
This is the last article about Pet Shop 4.0 source code. some other code such as singleton pattern will be too simple to explain. When BLL Layer to get data from database, Pet Shop 4.0 uses “Abstract factory pattern”. This … Continue reading
Posted in PetShop4.0
Comments Off on Pet Shop 4.0 – Abstract Factory Pattern
Pet Shop 4.0 – BreadCrumb
BreadCrumb is very simple part in Pet Shop 4.0 source code. “BreadCrumbControl.ascx” is main file and it is implemented in Master Template. add following code into “class BreadCrumbControl” in “Page_Load” function. 1 2 3 4 5 HtmlAnchor testAnchor = new … Continue reading
Posted in PetShop4.0
Comments Off on Pet Shop 4.0 – BreadCrumb
PetShop 4.0 – Authentication and Login (1)
PetShop 4.0 Authentication uses ASP.net build-in User Authentication. Let’s See where User Profile is firstly. Open PetShop 4.0 with Visual Studio. and Select Web Project Then select menu “WebSite” -> “ASP.net Configuration” The following question is where databases to get … Continue reading
Posted in PetShop4.0
Comments Off on PetShop 4.0 – Authentication and Login (1)
Pet Shop 4.0 – DataBase Map to Object
Pet shop uses very simple to map database columns to objects. Here are database’s table: Take Production Table for example, dbo.Production will map to ProudctionInfo in PetShop.Model. 1 2 3 4 5 6 7 8 9 10 11 12 13 … Continue reading
Posted in PetShop4.0
Comments Off on Pet Shop 4.0 – DataBase Map to Object
Pet Shop 4.0 – CacheDependency and AggregateCacheDependency
CacheDependency is an important part in pet shop 4.0. Here is some example code on how to use CacheDependency 1. create a new xml file as following: 1 2 3 4 5 6 7 8 9 10 11 <?xml version="1.0"?> … Continue reading
Posted in PetShop4.0
Comments Off on Pet Shop 4.0 – CacheDependency and AggregateCacheDependency
Pet Shop 4.0 – SqlCacheDependency
Pet Shop uses SqlCacheDependency to syn with Database Table. On all supported versions of SQL Server (Microsoft SQL Server 7.0, Microsoft SQL Server 2000, and SQL Server 2005) the SqlCacheDependency class monitors a specific SQL Server database table. When the … Continue reading
Posted in PetShop4.0
Comments Off on Pet Shop 4.0 – SqlCacheDependency