Microsoft Project Code Named “Velocity” CTP1
posted by jmferris(85) 3 years, 11 months ago 0
Very nice... I am looking forward to this product now. We have been looking at distributed caching for our domain objects in a web farm scenario, and have been evaluating similar products. Would be interested to find out when they are expecting to go RTM to see if it fits in with our product roadmap. More info is on their blog at: http://blogs.msdn.com/velocity
Reply
"Velocity" project - memcached by Microsoft?
Interesting perspective, but I don't think that it is an attempt to market-grab by Microsoft. There is a legitimate market for a distributed caching framework that Microsoft is trying to fill. A lot of the solutions out there that can be used in an IIS/.NET environment are ports from other platforms. While it is great to have choice, it is also nice to have a product built from the ground up by a team that knows the ins and outs of the target platform and can exploit any performance and stability gains. Not trying to take away from the other projects/products out there, but knowing that I could have a similar product from my framework/tooling/operating system vendor is very attractive in terms of integration and support.
NCache Stays Superior to Velocity
From everything that I have seen, you can store any class marked as Serializable in Velocity. For our use, I think this is more than adequate as we will ever only cache domain objects, which by their nature are lightweight. By creating POCOs that are marked as Serializable, the chance of the cache being misused is reduced. By implementing a data services layer on top of the DAL which also act as a caching relay, I can further enforce this. Seeing what developer have previously cached in our source using the native .NET caching, I have very intentionally made these decisions and believe that it will prevent misuse in product implementations like Velocity (if it would end up supporting some sort of true CLR caching mechanism), or if we ultimately choose another product. I think the line of thought is something along the lines of just because you could use a axe to open a door, it does not mean it is the right way to open the door. ;)
The little ‘gotcha’ in LINQ to XML
posted by jmferris(85) 3 years, 9 months ago 0
The namespace handling in LINQ to XML is a drop-dead awesome feature. I have only used in in VB.NET, but if the namespace that you are using is known to you ahead of time, you can simply import it. Imports <xmlns:ns="http://namespaceUri"> A quick Google for "LINQ to XML Namespaces" brought this up as the second result on the first page: http://msdn.microsoft.com/en-us/library/bb384460.aspx You can additionally navigate using the full node name, including the namespace.
@justin, you should be able to switch the Imports to a using for C#. I haven't personally tried it, but I am see a few people on EggheadCafe saying that it works - although it is not documented in the C# documentation. Best of luck!
Microsoft Releases Project Codenamed "Velocity" CTP2
posted by jmferris(85) 3 years, 6 months ago 0
It appears that Microsoft might have jumped the gun. The information on the page does reflect Preview 2, but the downloads are still from June. Hopefully it will drop soon. Additional information from the download page, "For community technology preview 2 (CTP2), Microsoft project code named "Velocity" offers several new enhancements that include a high availability feature, performance improvements, PowerShell integration, and new configuration storage options. There is also a new 64-bit version of "Velocity" specifically customized for x64-based computers."
The download is now live. However, it appears that the documentation has not been updated yet in the help file that is available for download.
Somasegar Announces That Visual Studio 2010 Beta Released to MSDN Sub.
posted by jmferris(85) 3 years ago 0
Installing as we speak... Been looking forward to this for a while, now.
How to Create an Enterprise Library Cache Provider for Velocity
posted by jmferris(85) 2 years, 10 months ago 0
Nice article. I was actually just days away from setting down to do the same thing, myself. This gives me a great jumping off point.