Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Tài liệu HOT
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
ASP.NET 4 Unleased - p 117
TAILIEUCHUNG - ASP.NET 4 Unleased - p 117
1134 CHAPTER 24 Advanced Navigation Typically, you override the FileExists() and GetFile() methods to retrieve a file from your data store. If you want to represent directories, you also need to override the DirectoryExists() and GetDirectory() methods. Several of these methods are related to caching. The VirtualPathProvider needs to know when a file has been modified so that it can retrieve the new version of the file and compile it. By default, the Framework uses a file dependency to determine when a file has been modified on the hard drive. However, in this situation a SqlCacheDependency is used because the files will. | 1134 CHAPTER 24 Advanced Navigation Typically you override the FileExists and GetFile methods to retrieve a file from your data store. If you want to represent directories you also need to override the DirectoryExists and GetDirectory methods. Several of these methods are related to caching. The VirtualPathProvider needs to know when a file has been modified so that it can retrieve the new version of the file and compile it. By default the Framework uses a file dependency to determine when a file has been modified on the hard drive. However in this situation a SqlCacheDependency is used because the files will be stored in a database. The VirtualPathProvider also includes a useful property Previous Returns the previously registered VirtualPathProvider. The Previous property enables you to use the default VirtualPathProvider. For example if you want to store some files in the file system and other files in the database you can use the Previous property to avoid rewriting all the logic for working with files in the file system. The GetFile method returns an instance of the VirtualFile class. When using the VirtualPathProvider you must create a new class that inherits from the VirtualFile class. This class contains the following properties IsDirectory Always returns False. Name Returns the name of the file. VirtualPath Returns the virtual path of the file. The VirtualFile class also contains the following method Open Returns the contents of the file. Typically when creating a class that inherits from the VirtualFile class you override the Open method. For example we override this method to get the contents of a file from a database table in the code sample built in this section. The GetDirectory method returns an instance of the VirtualDirectory class. This class contains the following properties Children Returns all the files and directories that are children of the current directory. Directories Returns all the directories that are children of the current .
Thanh Loan
112
10
pdf
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Bấm vào đây để xem trước nội dung
Tải xuống
TÀI LIỆU LIÊN QUAN
Giáo trình ASP. NET
278
189
13
bài tập thực hành asp
5
167
2
ProfessionalWeb Parts and Custom Controls with ASP.NET 2.0
482
121
1
Bài giảng ASP .NET bản full
172
247
18
101 Ways to promote youar web site
391
132
0
Giáo trình Asp.Net MVC 3
120
143
5
Bài giảng ASP 1 - TS. Trương Diệu Linh
13
137
1
Bài giảng Lập trình web với ASP
1
165
4
ASP.NET 4 Unleased - p 87
10
172
0
ASP.NET 4 Unleased - p 9
10
186
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461857
55
Giới thiệu :Lập trình mã nguồn mở
14
22603
58
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10882
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10049
445
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9513
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8268
1124
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8224
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7862
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6669
253
Vật lý hạt cơ bản (1)
29
5765
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
ASP
NET
tài liệu học ASP
NET
Microsoft
NET Framework
ASP
NET Configuration
ASP
NET Features
Advanced ASP
NET
tài liệu về ASP
ứng dụng ASP
cài đặt ASP
bài giảng về ASP
hướng dẫn học ASP
lập trình website
thực hành asp
NET 2
Kỹ thuật lập trình
Pro ASP
0 in C# 2005
Net websites
Beginning ASP
NET 3
5 in VB 2008
Net MVC 3
Giáo trình Asp
Mô hình MVC trong Asp
Thành phần Asp
Net MVC
Lợi ích Asp
Bài giảng ASP 1
Giới thiệu ASP
Cơ bản về ASP
Truy cập CSDL với ASP
Quá trình xử lí một file
Cấu hình IIS
Lập trình web với ASP
Bài giảng Lập trình web với ASP
Ngôn ngữ kịch bản VBScript
Lập trình web động với ASP
Truy xuất CSDL trong ASP với ADO
TÀI LIỆU MỚI ĐĂNG
Động cơ đốt trong và máy kéo công nghiêp tập 1 part 7
23
257
0
24-04-2024
Động cơ đốt trong và máy kéo công nghiêp tập 2 part 8
32
258
0
24-04-2024
Oreilly learning the vi Editor phần 4
19
228
0
24-04-2024
BeginningMac OS X Tiger Dashboard Widget Development 2006 phần 2
34
208
0
24-04-2024
Công nghiệp gang thép Việt Nam : Một giai đoạn phát triển và chuyển đổi chính sách mới part 5
6
194
0
24-04-2024
MySQL Database Usage & Administration PHẦN 7
37
154
0
24-04-2024
The profit magic of stock Timing The Markets_5
22
119
0
24-04-2024
Đề tài: Tìm hiểu một số yêu cầu đặt ra với một phòng thu âm, để đảm bảo chất lượng âm thanh trong sản phẩm đa phương tiện
8
159
1
24-04-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
128
0
24-04-2024
GIÁO TRÌNH MÁY ĐIỆN KHÍ CỤ ĐIỆN - PHẦN I MÁY ĐIỆN - CHƯƠNG 1
46
131
2
24-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7862
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5678
1349
Ebook Chào con ba mẹ đã sẵn sàng
112
3757
1230
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5309
1135
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8268
1124
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3489
642
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10882
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3678
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4040
514
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4120
480
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.