Ngoc Tu's profileNgoc Tu's spacePhotosBlogListsMore ![]() | Help |
|
|
March 31 Chuyên đề chuẩn bị cho niên luậnChào các bạn. Dù chuẩn bị khá kỹ nhưng vẫn có sơ xuất. Sau đây là các phần để download: Phần báo cáo của Khanh: http://tumickey.liveclubcantho.org/ChuyendeNL1-VHK.zip Phần báo của của Vành Khuyên - Hải: http://tumickey.liveclubcantho.org/nl1-vk-Hai.zip Demo ve cây của Hải: http://tumickey.liveclubcantho.org/vecay.zip Xin ké là phần báo cáo của mình làm năm ngoái. Cũng giống như với bài của VK-Hải: nhưng phần sơ đồ có 1 loại sơ đồ đơn giản hơn là Nassi-Shneiderman và 1 bài báo cảo nhỏ về IDE cho C/C++ http://tumickey.liveclubcantho.org/nl1-nntu.zip 1 số phần mêm vẽ lưu đồ: -http://tumickey.liveclubcantho.org/Veluudothuattoan.zip vẽ theo chuẩn Nassi-Shneiderman: http://tumickey.liveclubcantho.org/Nassi-Shneiderman.rar Tài liệu về BGI – Lập trình đồ họa với DevC++ http://tumickey.liveclubcantho.org/bgidoc.zip Mọi thắc mắc, download không được các bạn có thể liên hệ tại địa chỉ : tumickey@gmail.com (Host do LiveClubCantho.org tài trợ) Ngoài ra còn 1 mirro nữa để các bạn dễ download : January 26 HDD Seagate lỗi firmware chết trong 3 đến 5 thángSeagate vừa tung ra phiên bản update firmware mới dành cho các ổ cứng 7200.11 từ 160GB đến 1.5TB hứa hẹn sẽ fix lỗi sau: sau khi dùng các ổ cứng 7200.11 này từ 3 đến 5 tháng thì bị khóa cứng (như kiểu khóa cứng bảo vệ). Gắn vào máy thì không thể detect được. Tuy đã số các trường hợp không gây mất mát dữ liệu nhưng thậm chí đem thay cả board mạch cũng không thể giúp gì được những ổ cứng cần phải được update firmware Quote: Following these reports, the company removed the firmware update pending validation. It is not known at this point as to how the company plans to address its disgruntled customers, whether it creates a window for hard drives failed as a result of upgrading to this firmware to be replaced under the company warranty or free of charge. The SD1A firmware update was released by the company to address stability issues certain models of the Barracuda 7200.11 series hard drives were diagnosed with. Thực hiện theo như bên voz 1/nếu bạn không rõ con của bạn là model gì , firmware gì thì tải cái này về copy from voz Cách này mình đã update thành công ổ Seagate 320GB 7200.10 từ firmware 3.AAK lên 3.AAM, mình nghĩ lần này cũng ko khác nhau đâu Những thứ cần thiết HP USB Disk Storage Format Tool - Download: Google 1. Mở chế độ hiển thị file hệ thống của Windows: 2. Chạy UltraISO 3. Mở lại file .bif vừa save bằng UltraISO 4. Chạy HP USB Disk Storage Format Tool 5. Sau khi format thành công, chưa xong đâu, bây giờ bạn vào thư mục seagate-firmware chép tất cả các file trong đó vào USB, có thể chép đè hay không đều được 6. Lúc này bạn đã có 1 USB boot, chỉ việc khởi đông lại máy tính và chọn boot từ USB Boot và làm theo hướng dẫn update firmware December 06 Enum type và WCF services1 khó khăn là khong thể dùng kiểu Enum 1 cách bt trong WCF. Sau đây là cách: Vd ta cần dùng Enum như sau :
December 05 Hosting WCF in IIS 7 on VistaKhi dùng IIS 7 để host cái WCF thì gặp thông báo :
Nguyên nhân là do iis 7 chưa được đăng ký với WCF. Để cho iis 7 có thể hosting WCF : 1. Vào command prompt . Start –> gõ cmd 2. Di chuyển tới thư mục c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ bằng lênh: cd c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ 3. gõ : ServiceModelReg –i thế là có thể hosting WCF December 04 Silverlight - Sql server 2008 Spatial databaseÝ định: dùng silverlight để hiện thị bản đồ từ kiểu dữ liệu spatial (SqlGeography) . Thế nhưng vấn đề ở chổ không thể nào đưa thư viện Microsoft.SqlServer.Types.dll vào trong silverlight. Nếu không có thư viện đó thì không thể nào dùng kiểu SqlGeography . Sau khi tham khảo vd mẫu SpatialWpf ( dùng wpf để đọc Spatial http://www.codeplex.com/SpatialViewer) thì thấy có cách là dùng cách chuyển đổi từ SqlGeography -> PathGeometry( kiểu data từ namespace System.Windows.Media ) mà kiểu PathGeometry có thể chuyển thành chuổi dang <Path Data="M 0,100 Q 150,300 300,100" Stroke="Red" StrokeThickness="2"></Path> thế là chúng ta sẽ dùng SqlGeography -> PathGeometry -> string . Tiếp theo dung wcf chuyển tới cho silverlight . xong ta cần chuyển cái chuổi đó về PathGeomertry. thư viện http://www.codeplex.com/StringToPathGeometry sẽ giúp ta làm chuyện đó . có PathGeomertry xong ta hoàn toàn có thể hiện thi lên silverlight. demo : http://cid-6e8d6ce706d70065.skydrive.live.com/self.aspx/silverlight/SViewGis.zip http://liveclub.vn/members/tumickey/files/SViewGis.zip.aspx Phát triển : Do chưa tìm hiểu nhiều về silverlight nên không thể nào hiện thị nhiều vùng cùng 1 lúc . November 02 Cấu hình window server 2008
Install Windows Live Wave 3 beta programs in windows server 2008
(source: http://www.mydigitallife.info) October 16 Silverlight 2 ReleasedToday we shipped the final release of Silverlight 2. You can download Silverlight 2, as well the Visual Studio 2008 and Expression Blend 2 tool support to target it, here. Cross Platform / Cross Browser .NET DevelopmentSilverlight 2 is a cross-platform browser plugin that enables rich media experiences and .NET RIAs (Rich Internet Applications) within the browser. Silverlight 2 is small in size (4.6MB) and takes only 4-10 seconds to install on a machine that doesn't already have it. It does not require the .NET Framework to be installed on a computer to run - the Silverlight setup download includes everything necessary to play video or run applications. Developers can write Silverlight applications using any .NET language (including VB, C#, JavaScript, IronPython and IronRuby). Silverlight provides a rich set of features for development including:
The final Silverlight 2 release delivers a tremendous amount of power and flexibility that enables you to really push the boundaries of what can be done in a browser, and enable great end user experiences. Silverlight CustomersOver the last few months a number of very high profile sites have successfully launched using the beta releases of Silverlight 2. In August, NBC hosted the Olympics live on nbcolympics.com and served up 1.3 billion page views, 70 million video streams, and 600 million minutes of video content - making it the largest ever media event on the web. Users visiting the site spent an average of 27 minutes on the site when they watched a video - an unprecedented number for online traffic. In August, the Democratic National Convention was streamed live using Silverlight, and broadcast a 2Mbit live video feed of the event and speeches - receiving outstanding feedback from audiences watching it. This month a number of other high profile sites are going live with the final release of Silverlight 2. CBS College Sports Network will be streaming 20,000 hours of live games for 150+ college and university partners. AOL is launching their new AOL Mail browser version to 60 million users using Silverlight 2. Blockbuster will be launching their new MovieLink subscription service using Silverlight. Yahoo! Japan is live today enabling live streaming of Major League Baseball games. Hard Rock International will be updating their memorabilia site with new features. And companies like Toyota, HSN and hundreds of others will be live this week as well. Silverlight ToolkitSilverlight 2 ships with dozens of built-in UI controls that can be used to build applications. Below is a screen-shot of the Silverlight DataGrid, RadioButton, CheckBox and DatePicker controls in the final release:
InteroperabilityToday we are also announcing that Microsoft is partnering with Soyatec to sponsor additional tools for developing Silverlight applications using the cross platform Eclipse development platform. Click here to learn more about this and download the free Silverlight Eclipse plugin. Click here for a step-by-step tutorial that walks-through how to use their Eclipse tools today to build a Silverlight 2 application. We are also announcing today that we are releasing the Silverlight XAML vocabulary and schema under the Open Specification Promise (OSP), which enables anyone to create products that read and write XAML for Silverlight. You can learn more about this announcement here. Learning Silverlight 2The best way to learn Silverlight 2 is to visit the www.silverlight.net web-site. You can find free online tutorials, videos and training available there. The site also hosts an online forum system where MVPs and Microsoft Silverlight team members will be able to help answer technical questions. Also make sure to subscribe to the Silverlight Community RSS Feed, Jesse Liberty's Blog, and Tim Heuer's Blog for a daily dose of great Silverlight content. I've recently updated my Digg-client tutorial for the final Silverlight 2 release. This provides an end to end walkthrough of a Silverlight 2 application, and helps explain the different programming concepts behind it (controls, layout management, networking, data-binding, styles, user controls, control templates, etc). If you are brand new to Silverlight or WPF development I recommend walking through it to understand the basics:
You can develop Silverlight 2 applications using any version of Visual Studio 2008. Simply install the Silverlight Tools for Visual Studio 2008 download to get Silverlight tooling support within it. If you do not have VS 2008, you can alternatively install the free Visual Web Developer 2008 Express SP1 Edition. This free tool provides great ASP.NET development tool support, and starting today also now supports Silverlight 2 development. You can follow all of the steps in my tutorial above using the Visual Web Developer 2008 Express Edition - and get full intellisense, debugging, and deployment support. Upgrading from the BetaIf you have the Beta2 or RC versions of the VS Tools for Silverlight, or the Silverlight 2 Beta SDK or Developer Editions of Silverlight 2, please make sure to uninstall these completely before downloading and installing today's release. End users who have Silverlight 1, or Silverlight 2 Beta1 or Beta2 will be automatically upgraded to the final Silverlight 2 release starting later this month. Until then, if they visit a Silverlight 2 (final release) site, they will see the standard install prompt that a machine that does not have Silverlight installed would see. Clicking it will upgrade their machines to the final release of Silverlight 2 (there is no need for them to uninstall anything - Silverlight 2 will cleanly install over Silverlight 1 or the previous betas). Because there are some breaking changes between Silverlight 2 Beta2 and the final Silverlight 2 release, end users who have the final Silverlight 2 release installed will not be able to run applications that are still targeting Silverlight Beta2. Most major Silverlight 2 sites plan to upgrade to the final release in the next 24 hours (which will fix this issue) - if you hit a site built with Beta2 before then you might experience trouble with it. That should go away within about a day once all sites are updated though (this was one reason why we released the public release candidate last month - to help developers get their sites ready for the final release). SummarySilverlight 2 is a major release that enables some great new application and media experiences to be built, and allows developers to use .NET within any browser to create them. (source scottgu http://weblogs.asp.net/scottgu/archive/2008/10/14/silverlight-2-released.aspx)September 18 New Windows Live BetasNew Windows Live Betas – Download Wave 3 Now! (Updated With International Goodness)With the Windows Live Wave 3 beta due to start today, we thought we’d provide our readers with a small headstart on the rest of the world. Here’s the download links for the new Wave 3 suite of applications, including Messenger v9, Windows Live Movie Maker, Mail with Calendar synchronisation, Writer, Photo Gallery, Family Safety and the Outlook Connector. For the paranoid amongst you, yes the files are hosted on download.microsoft.com. http://tinyurl.com/liveside-wlwave3web (only downloads the applications you select) http://tinyurl.com/liveside-wlwave3all (downloads all the applications, you can chose which ones to install) Enjoy, and stay tuned for our reviews of the Windows Live Wave 3 beta application coming soon. In the meantime you can check out our previous posts tagged Wave 3 regarding the new applications or subscribe to our RSS feed to be alerted to the new posts coming later today. Here’s some sample screenshots just to wet the appetite! PS: If you have the Writer CTP or any other Wave 3 products installed, you should uninstall them first. Read more LiveSide reviews on the new Windows Live betas: Wave 3: Windows Live Movie Maker Beta Wave 3: Windows Live Mail - Calendar, Calendar, Calendar (and more) Wave 3: Windows Live Writer – A First Look Wave 3- Windows Live Messenger 9 Beta – What’s New- A Comparison With 8.5 Wave 3: Windows Live Photo Gallery – New Features Update: My Live Writer MVP cohort Stephan Walcher has managed to find the installer links for some of the other languages: English Italian German France Spanish Some more from Dwergs at mess.be Arabian Danish Dutch Finnish Japanese Korean Norwegian Swedish (source : http://www.liveside.net/main/archive/2008/09/16/windows-live-wave-3-betas-download-now.aspx) September 16 Workflow Foundation- Hãy vẽ lên những gì bạn muốn!Ngày trước, khi còn là sinh viên năm hai của một trường Đại học trong ngành Công Nghệ Thông Tin, tôi được học môn Phân tích thiết kế sau khi đã hoàn tất các môn lập trình cơ bản. Lần đầu tiên, tôi có cái nhìn như thế nào là một quy trình làm việc: quy trình mua bán hàng, quy trình bệnh nhân đi khám bệnh, quy trình quản lý sách ở thư viện, …tôi vẽ chúng trong giấy của mình những ô vuông tròn để thể hiện cho toàn bộ yêu cầu của bài tóan quy trình.
Thông thường sequential workflow sẽ được áp dụng do sự đơn giản khi phát triển, đồng thời là tính thể hiện đơn giản, dễ hình dung và quản lý. Tuy nhiên, theo kinh nghiệm cá nhân của tôi, State machine workflows có thể giúp bạn thể hiện được các workflow phức tạp, tránh trường hợp phân nhánh quá rườm rà, đặc biệt là những trường hợp mà chúng ta không thể đóan trước được bởi vì con người tham gia vào workflow có thể dừng nó vào bất cứ lúc nào. Do đó.việc định hướng bằng sequential workflow là khả thi, nhưng mỗi bước trong đó là một nhánh: thực hiện điều này nếu workflow vẫn được thực thi, và làm điều khác khi workflow bị hủy bỏ. Còn đói với dạng state machine thì mọi chuyện đơn giản bởi vì một yêu cầu hủy chính là một sự kiên mà nó có thể được tiếp nhận và quản lý ngay thời điểm đó. ![]() Những người làm công việc phát triển phần mềm có thể nhanh chóng và dễ dàng tạo ra các activity cho riêng mình, nhưng để giảm thiểu thời gian và ít mắc lỗi trong quy trình số. WF trong VISUAL STUDIO 2008 đã cũng cấp sẵn các activity sẵn có và thông dụng để đơn giản hóa quá trình “sáng tạo” của người phát triển mà chúng được gọi là Base Activity Library (BAL). Cho dù những người phát triển không dùng hết toàn bộ BAL cho một workflow của mình nhưng đó chính là cách mà Workflow của VISUAL STUDIO 2008 để người phát triển tự do phát huy ý tưởng và gần như không bị các trở ngại khiến họ mau nản chí. Ở đây tôi sẽ trình bày một số Activity mà tôi rất thường dùng khi làm việc:
Đến đây, tôi nghĩ rằng Workflow Foundation trên VISUAL STUDIO 2008 không chỉ là một ngôn ngữ đặc trưng cho việc định nghĩa nên một workflow riêng biệt mà nó còn tăng sự thông dụng và dễ dàng việc tiếp cận. BAL cung cấp một “ngôn ngữ” phát triển, nhưng bất kỳ ai cũng có thể dùng Workflow để thoải mái định ra một thứ cho riêng mình. (nguồn http://heroeshappenhere.com.vn/visualstudio2008/news.aspx?SubID=8&ArticleID=114) August 18 Liveclub Cần Thơ chính thức được thành lập và tổ chức ra mắtNgày 15/08/2008 nhân dịp hội thảo quốc gia về hợp tác CNTT tổ chức tại Cần Thơ, hội tin học Việt Nam, ban chủ nhiệm câu lạc bộ CNTT truyền thông Liveclub ViệtNam đã tổ chức lễ công bố quyết định thành lập và giới thiệu Liveclub Cần Thơ đến đông đảo cộng đồng CNTT và sinh viên TP Cần Thơ. Tại buổi lễ giao lưu sinh viên với CNTT do đaị học Cần Thơ tổ chức với sự tham gia của hơn 1000 sinh viên, và lãnh đạo TP cần thơ, Lãnh đạo bộ Thông tin truyền thông, lãnh đạo trường ĐH Cần Thơ , Ban chủ nhiệm Liveclub Cần Thơ đã chính thức ra mắt, nhân dịp này thay mặt Liveclub Vietnam (ông Lê Thanh Hải và ông Nguyễn Long) đã trình bày bài giới thiệu về mô hình và định hướng hoạt động của Liveclub Vietnam nói chung và Liveclub Cần Thơ nói riêng . Ban Chủ nhiệm Liveclub Cần Thơ gồm 5 người : 1. TS Phạm Thị Xuân Lộc: Giảng viên ĐHCT 2. Thạc Sĩ Trần Văn Thiện: Hội Phó Hội Tin Học Cần Thơ, Giám Đốc Trung tâm Tin học Bưu Điện TP Cần Thơ. 3. Thạc Sĩ Trương Xuân Việt: Trung tâm Công nghệ Phần mềm Đại học Cần Thơ (CUSC). 4. Thạc Sĩ Đặng Quốc Việt: Giảng viên ĐHCT 5. Nguyễn Ngọc Tú: Sinh viên ĐHCT, Microsoft student partner. Liveclub Cần Thơ sẽ hoạt động theo định hướng kết nối và sinh viên Cần Thơ và các tỉnh Đồng bằng song Cửu Long với CNTT để không ngừng sang tạo các sản phẩm CNTT ứng dụng phục vụ phát triển kinh tế.
August 12 Visual Studio 2008 and .NET Framework 3.5 Service Pack 1Visual Studio 2008 and .NET Framework 3.5 Service Pack 1The next service pack is finally available. If you are using .NET 3.5, or want to use any of the new features that we have been talking about being added in this service pack, I’d strongly recommend you upgrade to this. You can download it here. So what are the new features in this, well for a Service Pack, quite a lot. Check them all out:
As for Visual Studio 2008, the Service Pack can be found here. The following technologies have been tested and verified to work with SP1:
If you encounter issues installing SP1, uninstall technologies and/or development add-ins not listed above, and then try SP1 Setup again. (resource http://blogs.msdn.com/tom/default.aspx) July 29 Running membership provider with SQL server 2005run aspnet_regsql.exe in C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe And it starts the wizard:
Select Configure SQL Server for application services
Select the server and database
Confirm your settings
Wait a few seconds - and we are done
Now we can look in SQL Server Enterprise manager to see that there sure are some tables and stored procedures created July 28 ASP.NET MVC Framework Preview 4In keeping with its releases of about once a month, Microsoft has released Preview 4 the ASP.NET MVC Framework. This release promises to start giving developers more higher level features aiding in better productivity. Scott Guthrie eluded to the release in a blog post from earlier in the week where he explains some of the new features titled, ASP.NET MVC Preview 4 Release (Part 1). What's NewNew Simple Membership Features in the Default Project TemplateAn AccountController class in included in the default project template handling user actions for the following:
Considering most applications deal with users and the ability to authenticate them, this addition saves time for developers. The default settings for the MembershipProvider in this case uses SQL Server Express Edition but can be made to with SQL Server or some existing database. New Filter Types for Authorization and Exception HandlingThis release includes two new filter types, authorization and exception filters. These filters are designed to run before any other action filters, regardless of the scope of other filters. Features that have been added to support these new types:
New Output Cache FilterTaking advantage of the existing an robust ASP.NET caching mechanism, the OutPutCacheAttribute is implemented to cache the output of an action method. Changes for ASP.NET AJAXA couple AJAX helpers were added which use the AjaxOptions class used for asynchronous operations:
Scott Hanselman has good examples in an article on his blog demonstrating these features. Namespaces in RoutesPrevious versions of the framework had occasional issues with the method which it used to find controller implementations which led to an exception being thrown. This release fixes those issues by using a DefaultNamespaces property on the ControllerBuilder. An example of how this is implemented is: void Application_Start(object sender, EventArgs e) New Interface for Enhanced Testability of TempDataA new interface, ITempDataProvider has been introduced. This allows controllers to use different providers other than the SessionStateTempDataProvider, making for improved testability allowing developers to use session cookies instead of session state. ActionInvoker Extensibility ImprovementsVirtual methods have been added which extend the invoker when used in advanced instances. The new methods include:
The preview is available on CodePlex where it can be downloaded now. Be sure to review the Readme file that includes details of all the new features also available for download from CodePlex. July 21 IMAGINE CUP 2008 RESULTIMAGINE CUP 2008 RESULTMicrosoft công bố kết quả Vòng Chung Kết Cuộc Thi IMAGINECUP 2008 Ngày 8 tháng 7 năm 2008, Microsoft đã chính thức công bố kết quả Vòng Chung Kết Cuộc Thi IMAGINECUP 2008 tại Musée du Louvre sau một tuần tranh tài hết sức sôi nổi của các đội đại diện hơn 200.000 thí sinh đến từ 100 quốc gia trên Thế Giới. Những Giải Nhất đầu tiên của cuộc thi năm nay đã thuộc về Đội SOAK đến từ Úc trong phần thi Software Design, Đội Trail Blazers (Singapore) - Embedded Development và Đội Mother Gaia Studio của Brazil với phần thi Game Development. Imagine Cup là cuộc thi hàng đầu mang tầm cỡ quốc tế cho các sinh viên công nghệ, tạo cho các bạn sinh viên cơ hội tốt để khơi mở tài năng sáng tạo của mình bằng những giải pháp, công cụ thiết thực cho cuộc sống xã hội ngày nay. Vòng Chung Kết Cuộc thi với tổng số 370 thí sinh đến từ 124 đội đại diện cho 61 quốc gia lãnh thổ trên Thế Giới cùng thi tài trong 9 phần thi: Software Design, Embedded Development, Game Development, "Project Hoshimi" (Programming Battle), IT Challenge, Algorithm, Photography, Short Film and Interface Design. Ban Giám Khảo đã hết sức khó khăn để chọn lựa ra được những đội thật xuất sắc cho ba giải thương quý giá trong 9 phần thi của vòng Chung Kết IMAGINECUP 2008 như sau: Software Design
Embedded Development
Game Development
"Project Hoshimi" (Programming Battle)
IT Challenge
Algorithm
Photography
Short Film
Interface Design
Hơn nữa sáu đội giải nhất sẽ được chọn sẽ có cơ hội khám phá khi các giải pháp công nghệ của các đội sẽ được nghiên cứu và áp dụng vào thực tế. Và các thành viên của đội sẽ được sự huấn luyện về giải pháp kinh doanh và công nghệ từ các doanh nghiệp nổi tiếng trong chương trình Imagine Cup Innovation Accelerator. Và sáu đội được chọn cho chương trình Imagine Cup Innovation Accelerator trong cuộc thi ImagineCup 2008 năm nay là:
Ngoài ra còn có 5 giải thưởng phụ khác được trao cho những đội thật xứng đáng: · The Rural Innovation Achievement Award: Indonesia - Indonesia's Antarmuka Team Members: Arief Widhiyasa, Dimas Yusuf Danurwenda, Ella Madanella Dwi Mustika and Erga Ghaniya. · The Accessible Technology Achievement Award: France - Team JivAd · The Interoperability Achievement Award: India Team SKAN · The Windows Live Achievement Award: Spain Windows Drive · The Engineering Excellence Achievement Award
Và cũng trong khuông khổ chương trình IMAGINECUP 2008, Ban Tổ Chức cuộc thi đã công bố những thông tin về cuộc thi IMAGINECUP 2009 được tổ chức tại Cairo and Alexandria, Ai Cập. Chủ đề của IMAGINECUP 2009 năm sau cũng được BTC công bố, “"Imagine a world where technology helps solve the toughest problems facing us today." Đây là một dịp rất hay để sinh viên có thể được thử thách bản thân, được tiếp cận công nghệ và ứng dụng một cách nhanh và cụ thể nhất, là một sân chơi ý tưởng mà chỉ có thắng mà không có thua. YOU WIN, WE ALL WIN!!! Các bạn sinh viên nào chưa tham gia hãy tham gia thử xem! Imagine Cup 2009 với chủ để dùng công nghệ để giải quyết các vấn đề về Xã Hội đang chờ các bạn. Để biết thêm thông tin về cuộc thi các bạn có thể truy cập vào website www.imaginecup.com nhé ! July 06 Hướng dẫn sơ lược về torrentTorrent là gì?
Trích dẫn: Welcome to the µTorrent Port Checker. là xong . Ở đây TMK mở cổng 31154 1 số trang cung cấp torrent : http://asiandvdclub.org/ : đăng ký free , toàn hàng asian có cả Vietnam nữa đó (có mấy bộ hài hoài linh) . 1 cái dở là nó toàn up nguyên DVD (4.5 GB ) ko à nên down hơi mệt. chỉ cần upload để duy trì radio . không có tiền http://www.mininova.org/ của Việt Nam: June 02 Using Syndication Classes to Read RSS FeedsIntroductionRSS and ATOM feeds dominate the syndication systems today. If you run a web site you probably use RSS and ATOM for two purposes:
Whatever be the case until recently developers either coded their custom solution or made use of some third party component. Luckily .NET framework 3.5 introduced a set of classes that can simplify your job. This article explains how. The Syndication ClassesThe syndication classes of .NET 3.5 reside in System.ServiceModel.Syndication namespace. The System.ServiceModel.Syndication is physically contained in System.ServiceModel.Web assembly and you need to refer it before proceeding any further. The System.ServiceModel.Syndication namespaces supplies the following main classes related to syndication:
The SyndicationFeed class represents the entire feed from a particular URL. A feed typically consists of one or more items. Each feed item is represented by SyndicationItem class. Feed as well as feed items expose details such as description. These details are represented by SyndicationContent class. The links from a feed are represented by SyndicationLink class and authors and contributors by SyndicationPerson class. Finally, the items of a feed can be grouped using SyndicationCategory class. The classes mentioned above are independent of feed format (RSS or ATOM). The format specific classes render or read feeds in a specific format. These classes are:
The first two classes above deal with RSS feeds and the later two classes deal with ATOM feeds respectively. Reading RSS feedsNow that you have some understanding of syndication classes let's develop a simple web form that reads an RSS feed. The web form after development looks as shown below:
It reads RSS feeds from a web site in this example and displays the feed items in a DataList. Begin by creating a new web site in Visual Studio. Drag and drop two Label controls at the top of the default web form for displaying title of the RSS feed and copyright message as it appears in the feed. Also place a DataList for displaying the feed items. The ItemTemplate of the DataList consists of a HyperLink control and two Label controls. The markup for this template is shown below: <ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server"
Text='<%# Eval("Title.Text") %>'
Font-Bold="True"
NavigateUrl='<%# Eval("Links[0].Uri.AbsoluteUri") %>'>
</asp:HyperLink>
<br />
<asp:Label ID="Label1" runat="server"
Text='<%# Eval("Summary.Text") %>'>
</asp:Label>
<br />
<asp:Label ID="Label2" runat="server" Font-Bold="True"
Text='<%# Eval("PublishDate.DateTime","Published On :{0}") %>'>
</asp:Label>
</ItemTemplate>
Notice the markup shown in bold letters. The DataList will be bound with a collection of SyndicationItem objects. Recollect that the SyndicationItem class represents a feed item from a feed. The Title property of SyndicationItem class is of type SyndicationContent. The Text property of SyndicationContent class returns the text representation of the content. The Links property of SyndicationItem class is a collection SyndicationLink instances. Each instance represents a link from the feed item. We used 0th element of the Links collection. The Uri property of the SyndicationLink class represents a URI (URL in most of the cases) and we use its absolute URI address. The Summary property of the SyndicationItem represents summary of a feed item. Similarly, PublishDate property represents date of publication of an item. Note that PublishDate property is of type DateTimeOffset and to display the actual date and time we use its DateTime property. Before you write any code make sure that you have added a reference to System.ServiceModel.Web assembly and have imported System.Xml and System.ServiceModel.Syndication namespaces. using System.Xml; using System.ServiceModel.Syndication; Now write the following code in the Load event of the web form. XmlReader reader = XmlReader.Create
("http://localhost/MyWebSite/rssfeed.aspx");
Rss20FeedFormatter formatter =
new Rss20FeedFormatter();
formatter.ReadFrom(reader);
reader.Close();
Label3.Text = formatter.Feed.Title.Text;
Label5.Text = formatter.Feed.Copyright.Text;
DataList1.DataSource =
formatter.Feed.Items.Single().lin;
DataList1.DataBind();
Here, we created an instance of XmlReader class that reads XML data from a specified URL. Replace the above URL with appropriate URL at your end. Then we instantiate Rss20FeedFormatter class. The ReadFrom() method of Rss20FeedFormatter class accepts an XmlReader and reads the XML data. The underlying XmlReader is then closed. The Feed property of Rss20FeedFormatter class is of type SyndicationFeed and represents the feed being read. The Title and Copyright properties of SyndicationFeed class return title and copyright mesage of the current feed respectively. The Items property of the SyndicationFeed class returns a collection of SyndicationItem objects representing feed items. This collection acts as a DataSource to the DataList. That's it! If you run the web form you should see something similar to the figure above. The syndication features of .NET framework are not limited to reading existing feeds. They also allow you to expose your site content as an RSS or ATOM feed. The next article will explain how. (source Bipin Joshi) June 01 MVC Preview 3 ReleasedScott Guthrie just announced that ASP.NET MVC Preview Release 3 has been released to the public. Here is a summary of the changes at a high level: For complete details see ScottGu’s post about this release. CodePlex Source Code Its also worth noting that the MVC patterns source code is made available on CodePlex in case you are really feeling adventures. |
|
|