Domain: asp.net
Stories and comments across the archive that link to asp.net.
Stories · 28
-
Microsoft Releases ASP.NET MVC Under the Apache License
mikejuk writes "Microsoft has announced that they are being even more open with their new approach to ASP.NET MVC. It is making ASP.NET MVC, Web API, and Razor open source under an Apache 2 license. The code is hosted on CodePlex using the new Git support ... You can compile and test out the latest version, but if you do have anything to contribute you have to submit it for Microsoft's approval." To get code upstream Microsoft has to approve (pretty typical), but the git branch is supposedly tracking the latest internal release candidate branch (a bit better than Google does with Android, even). Things seem to have changed quite a bit since the days of Shared Source (tm). -
Microsoft .Net Libraries Not Acting "Open Source"
figleaf writes "Three years ago, with much fanfare, Microsoft announced it would make some of the .Net libraries open source using the Microsoft Reference License. Since then Microsoft has reneged on its promise. The reference code site is dead, the blog hasn't been updated in a year and a half, and no one from Microsoft responds to questions on the forum." -
Microsoft Open Sources ASP.NET MVC
Jimmy Zimms writes "Microsoft's ASP.NET MVC is an extension built on the core of ASP.NET that brings some of the popular practices and ease of development that were popularized by Ruby on Rails and Django to the .NET developers. Scott Guthrie, the inventor of ASP.NET, just announced that Microsoft is open sourcing the ASP.NET MVC stack under the MS-PL license. 'I'm excited today to announce that we are also releasing the ASP.NET MVC source code under the Microsoft Public License (MS-PL). MS-PL is an OSI-approved open source license. The MS-PL contains no platform restrictions and provides broad rights to modify and redistribute the source code.' Here's the text of the MS-PL. -
Programming .NET 3.5
lamaditx writes "The world of the .NET framework is taken to the next level by the release of .NET 3.5. The intended audience of this book are experienced .NET programmers. There are no sections that tell you details about C#, SQL servers or anything like that. I don't recommend this book if you never worked on a .NET project and don't know how to set up a SQL database. You should be aware that the code is written in C#. You might use one of the software code converters if you prefer Visual Basic instead. I think the code is still readable even if you do not know C#. I appreciate the fact that the authors decided to use one language only because it keeps the book smaller. The authors assume you are using Visual Studio 2008. You don't necessarily need to update to 2008 if you are working with an older edition because you can use the free Express Edition to get started." Keep reading for the rest of Adrian's review. Programming .NET 3.5 author Jesse Liberty & Alex Horovitz pages 476 publisher O'Reilly Media rating 7/10 reviewer Adrian Lambeck ISBN ISBN 978-0-596-52756-3 summary Covers all main .NET technologies found in .NET 3.5 The table of contents is available from O'Reilly — together with a chapter preview — here. The book does not come with any extras but includes the usual free 45 days access to the book on Safari.
This book covers the key technologies in .NET. There are books on each of these technologies: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), XAML, AJAX,C# and Silverlight already, but this book shows you how everything is connected with each other. As the authors note: "Our goal is to show you the 25% that you will use 85% of the time.". From my point of view this is good because I have a .NET 2.0 background and wanted to know what is new in .NET 3.5 and how things are connected.
The book is divided in 3 main parts. The first is presentation, which covers XAML, WPF and AJAX. The second describes how to take advantage of the design pattern support in .NET. The last part covers the business layer which includes LINQ, WCF, WF and CardSpace.
The first part starts with XAML. This is the eXtensible A The next main topic is using WPF which is the successor of Windows Forms. The authors explain how to connect data structures to the user interface which I consider to be one of the most important parts of using WPF. You will also find a lot of code and XAML layout descriptions.
The chapter on Silverlight was not very helpful to me. Silverlight is the competitor of Adobe Flash. Giving samples how to layout a Silverlight application is essentially the same as a WPF application thus it dives into more details of XAML. I am missing the real Silverlight message so this part did not meet my expectations.
The third technology you will learn about is AJAX which leads us away from the desktop client to a web client. The explanation how AJAX works is pretty good. The authors show you step by step how to create a todo list web-application with a database backend using ASP.NET and AJAX. Again, this does not cover all AJAX controls or ASP.NET but it shows you how the parts are interconnected and assumes that if you know how to handle one control, then you can also figure out how to handle all the others. Most web applications need some kind of access control. At this point the authors argue that it is faster to implement your own security tables instead of using the ASP.NET forms-based controls.My opinion is that you should never do something that is not correct to teach something else. There are always people who get it wrong in a way you did not anticipate. My recommendation: use the ASP.NET components and do not implement them by yourself.
The second part about the design patterns was surprising to me because I expected the common introduction to standard design pattern. The Model-View-Controller project implements the pattern for ASP.NET and allows developers to incorporate it easily. The advantage is that you get a comprehensive and easy to understand introduction how .NET supports design pattern implementation. I guess this will lead some developers from theory of design patterns to actually implementing them.
I consider the third part to be the real interesting content. It starts with LINQ which bridges object-oriented code to relational databases. You get to know the differences to SQL and also the advantages it provides by explaining new concepts. The examples are easy to understand and successfully make their point.
Windows Communication Foundation (WCF) covers the hot Service-Oriented-Architecture (SOA) topic. The authors explain what it is all about but you will need some knowledge about Web Services and XML to really get it. The introduction is rather short but more details are explained in the corresponding example.
The chapter about Windows Workflow Foundation (WF) starts with a short example how you implement a workflow without WF. After that you get to see how you do the same with WF. This way the necessity for WF become clear and you understand how to take advantage of this technology.
Card Space is the successor of Microsoft passport which was not successful as an authentication service with respect to user acceptance. This is also the key issue that decides on the success of Card Space. Maybe the improved interoperability will help. The chapter provides you with a short authenticate-yourself test and shows you how to offer Card Space authentication in your ASP.NET application.
The book is a good entry to the world of .NET 3.5 because it gives you an idea about every part and what it is good for. Maybe you do not need all of it for your job but at least you know that it exists and how it might be useful. I think it is reasonable that a comprehensive introduction to .NET 3.5 can not satisfy everybody because the range of topics is too broad. One can argue that this kind of information could also be retrieved from the net. I consider the book to be a better resource because it already summarizes the important information such that you do not drown in a flood of information.
There is also some criticism as I pointed out earlier. Maybe I am just a little picky about the details but if you print code download references into a book, they must be available. Most examples can be downloaded but the Alex Horovitz site was not reachable when I tried to access it. Another personal remark is that I do not like to see quotes from Wikipedia. Other people might think different about that so you just need to decide on your own.
I rate this book a 7. The authors scratch the surface of every topic and choose an appropriate style to explain it. You can tell that they thought about how to explain each topic on it's own and give you not just the "how" but also the "why".
Adrian Lambeck is a graduate student in "Media and Information Technologies" and worked with .NET for a few years.
You can purchase Programming .NET 3.5 from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page. -
Silverlight 2.0 Released
rfernand79 writes "Via Scott Guthrie's Blog for Microsoft, we find out that Silverlight 2.0 has been released. The blog post notes some interesting statistics, including the magnitude of video streamed during the Olympics and the Democratic National Convention (both using Silverlight). 'Hello Worlds' and educational links are included in the post." -
Microsoft Adding jQuery To Visual Studio
Tim Anderson writes "Microsoft's Scott Guthrie, Corporate VP of the .NET developer division, announced that the open source jQuery Javascript library will be integrated into Visual Studio, the main Windows development tool. Further, Microsoft will treat jQuery as a supported product within technical support contracts, and will use jQuery to build new controls for ASP.NET, its web platform." -
Microsoft Releases Source of .NET Base Classes
Disgruntled Fungus writes "A few months ago, we discussed Microsoft's intention to open source the .NET libraries. According to a developer's official blog, the source code is now available. The source to libraries such as System, IO, Windows.Forms, etc. can now be viewed and used for debugging purposes from within Visual Studio. Instructions for doing so have also been provided. The source code has been released with a read-only license and 'does not apply to users developing software for a non-Windows platform that has "the same or substantially the same features or functionality" as the .NET Framework.'" -
SimCity Source Code Is Now Open
Tolkien writes "Source code for SimCity has been released under the GPLv3. For legal reasons the open source version was renamed Micropolis, which was apparently the original working title. The OLPC will also be getting a SimCity branded version that has been QA'ed by Electronic Arts. Some very cool changes have been made by Don Hopkins, who updated and ported what is now Micropolis. (Here is an earlier Slashdot discussion kicked off by a submission Don made.) Among other things, it has been revamped from the original C to using C++ with Python. Here is the page linking all the various source code versions. Happy hacking!" -
Microsoft Vs. TestDriven.NET
Erebus writes "Jamie Cansdale released a free addin to Visual Studio back in 2004 to help developers build unit tests. His only problem was, he enable his addin for all versions of VS - including the Express addition which isn't suppose to support addins. After over a year of trying to talk with Microsoft and understand how and why he was in violation of their license agreement, during which they would never explain specifically which clause in the license was being violated, they sent the lawyers after him and pulled his MVP status. To top it all off, Jamie is actually a Java developer by day — his addin was originally developed just as a hobby project. A full account is available on his blog, including all email correspondence he had with Microsoft and the now 3 letters received from Microsoft lawyers. The lead product manager for Visual Studio Express has responded to Jamie's posts." -
Microsoft Vs. TestDriven.NET
Erebus writes "Jamie Cansdale released a free addin to Visual Studio back in 2004 to help developers build unit tests. His only problem was, he enable his addin for all versions of VS - including the Express addition which isn't suppose to support addins. After over a year of trying to talk with Microsoft and understand how and why he was in violation of their license agreement, during which they would never explain specifically which clause in the license was being violated, they sent the lawyers after him and pulled his MVP status. To top it all off, Jamie is actually a Java developer by day — his addin was originally developed just as a hobby project. A full account is available on his blog, including all email correspondence he had with Microsoft and the now 3 letters received from Microsoft lawyers. The lead product manager for Visual Studio Express has responded to Jamie's posts." -
ASP.NET Ajax Released
darrenkopp writes "Microsoft released their anticipated AJAX framework that integrates with their ASP.NET product .It is a fully supported product (24x7 phone support), but is completely free! They are releasing the source for it as well." -
Open Source AJAX toolkits
twofish writes "InfoWorld columnist Peter Wayner recently reviewed six of the most popular "open source" Ajax toolkits. The article sets out to see if they are enterprise ready in comparison to commercial products such Backbase, JackBe, and Tibco's General Interface. The six open source projects covered were selected because each has a high-profile in the developer community and support of one or more stable organizations. " The toolkits covered are:- Dojo
- Google Web Toolkit
- Microsoft Atlas
- Open Rico and Prototype
- Yahoo AJAX Library
- Zimbra Kabuki AJAX Toolkit
Whilst the definition of open source is broad, the round-up is quite helpful. -
Microsoft Releases Atlas
Jason Lind writes "Much earlier than anticipated, Microsoft announced the release of Atlas this afternoon at MIX 06. For those who don't know, Atlas is Microsoft's AJAX API for ASP.NET 2, which they claim will greatly reduce the effort in developing AJAX style applications on their platform." -
Nintendo's First Podcast
celerityfm writes "With the US release of an MP3/multimedia player add-on for the Nintendo DS and Gameboy Advance just around the corner, Nintendo is already busy creating content for it with their first Podcast, produced by podcast pioneer Carl Franklin. Check out the first episode, it's all about Nintendogs." Commentary is available at Press the Buttons. From that post:"From the sound of things, girls love Nintendogs. Dog training tips are exchanged, fans are briefly interviewed, and even a parent weighs in now and then. Ms. McCollom's segment goes in to why girls are apt to love raising portable puppies and just how the Nintendo DS's wireless mode enables gamers to meet new players and their dogs. Teen People even proclaims the experience 'better than Barbie', so if that's not a young girl stamp of approval, I don't know what is. " -
Professor Finds Fault with MS Grammar Checker
ChuckOp writes " front-page article in the Seattle Post-Intelligencer states: "The University of Washington associate professor has embarked on a one-man mission to persuade the Redmond company to improve the grammar-checking function in its popular word-processing program. Sandeep Krishnamurthy is also trying to raise public awareness of the issue." He includes some twisted prose that the grammar checker fails to find fault with, such as: "Marketing are bad for brand big and small. You Know What I am Saying?" and "Gates do good marketing job in Microsoft". This last comment is disputed by retired Microsoft researcher Karen Jensen, who developed part of the underlying technology; "Only by knowing that 'Gates' probably refers to Bill Gates -- and not to the plural of the movable portion of a fence -- would the program know to suggest using 'does' instead." The professor also has several twisted examples available." -
Microsoft Developers Respond To .NET Criticism
bonch writes "Richard Grimes of Dr. Dobbs Journal wrote an article entitled Mr. Grimes' Farewell, in which he discusses what he feels are inherent flaws in .NET, and how he is abandoning his .NET column. Grimes argues that .NET is merely thin wrappers to Win32 calls (Avalon uses message functions that date back to 16-bit Windows), that Microsoft has abandoned confidence in both .NET and sales of Longhorn, and that the framework itself is too large and poorly implemented, most of it ported from past APIs like WFC and VB. Dan Fernandez, Microsoft's Visual C# Project Manager, has responded in his blog. Richard Grimes appears in the comments to defend his criticism, referencing first-hand disassembly of .NET APIs using ildasm. Scott Swigart has also responded to the criticism of Visual Basic .NET. Apparently, Mr. Grimes struck some nerves." -
MS Employee Calls for No More Passwords
BobPaul writes "On his blog, Robert Hensing of the Microsoft PSS Security Team makes a really convincing argument for the abolishment of complicated passwords. He argues that precomputed hash tables, network sniffing, and programs like LoftCrack make passwords obsolete and dangerous in the windows environment. What does he recommend in their place? Passphrases: sentences and quotes that are easy to remember but may be more than 30 or 40 characters in length. With many companies requiring frequent password changes, (and we know exactly where that leads) this is a simple idea I'm surprised more people haven't been doing this more often." -
Linux in a World Where Windows 3.0 Never Happened
covertbadger writes "Larry Osterman said farewell yesterday to David Weise, the developer he credits with getting applications to run in protected mode on Windows 3.0, which led directly to Microsoft choosing to push Windows instead of OS/2. Today he speculates on what the IT world would be like if Weise had never completed this work. Windows 95 would never have existed, OS/2 would be the de facto standard, and IBM would never have put weight behind Linux because it had its own operating system to push." -
Linux in a World Where Windows 3.0 Never Happened
covertbadger writes "Larry Osterman said farewell yesterday to David Weise, the developer he credits with getting applications to run in protected mode on Windows 3.0, which led directly to Microsoft choosing to push Windows instead of OS/2. Today he speculates on what the IT world would be like if Weise had never completed this work. Windows 95 would never have existed, OS/2 would be the de facto standard, and IBM would never have put weight behind Linux because it had its own operating system to push." -
Linux in a World Where Windows 3.0 Never Happened
covertbadger writes "Larry Osterman said farewell yesterday to David Weise, the developer he credits with getting applications to run in protected mode on Windows 3.0, which led directly to Microsoft choosing to push Windows instead of OS/2. Today he speculates on what the IT world would be like if Weise had never completed this work. Windows 95 would never have existed, OS/2 would be the de facto standard, and IBM would never have put weight behind Linux because it had its own operating system to push." -
IE Shines On Broken Code
mschaef writes "While reading Larry Osterman'a blog (He's a long time Microsoftie, having worked on products dating back to DOS 4.0), I ran across this BugTraq entry on web browser security. Basically, the story is that Michael Zalewski started feeding randomly malformed HTML into Microsoft Internet Explorer, Mozilla, Opera, Lynx, and Links and watching what happened. Bottom line: 'All browsers but Microsoft Internet Explorer kept crashing on a regular basis due to NULL pointer references, memory corruption, buffer overflows, sometimes memory exhaustion; taking several minutes on average to encounter a tag they couldn't parse.' If you want to try this at home, he's also provided the tools he used in the BugTraq entry." -
Does Your LCD Play Catch-Up To Your Mouse?
Dishes of Ryan writes "I fell in love with the idea of an LCD monitor, so I ended up buying a nice, shiny Dell 2001FP. However, nowhere, and I mean *nowhere* did I read about LCDs having an input lag on them. For instance, if I scoot the mouse across the screen, there is a noticeable delay between when I move the mouse and when the cursor moves. To prove it to people, made a video showing exactly what I mean. You can almost forget being king of the hill on twitch FPS games like Unreal Tournament. Are there any other Slashdotters out there that are as annoyed as I am? What did you do?" -
Does Your LCD Play Catch-Up To Your Mouse?
Dishes of Ryan writes "I fell in love with the idea of an LCD monitor, so I ended up buying a nice, shiny Dell 2001FP. However, nowhere, and I mean *nowhere* did I read about LCDs having an input lag on them. For instance, if I scoot the mouse across the screen, there is a noticeable delay between when I move the mouse and when the cursor moves. To prove it to people, made a video showing exactly what I mean. You can almost forget being king of the hill on twitch FPS games like Unreal Tournament. Are there any other Slashdotters out there that are as annoyed as I am? What did you do?" -
A Visual History of Spam
Cristiano writes "Microsoft employee Raymond Chen has saved every spam message and virus-laden e-mail he's received at work since 1997 and graphed the spams and viruses to create a cool visual representation of one man's malicious traffic." -
Josh Ledgard On MS's Future Open Source Efforts
prostoalex writes "Josh Ledgard from Microsoft, the developer responsible for open-sourcing WiX and WTL, is looking for opinions on what Microsoft should do next in regards to the open source movement that he himself established within the company. "Would you have interest in working on these types of projects with Microsoft? If not, what could entice you? If so, what would be your motivation?", asks Josh." Update: 08/24 19:04 GMT by T : As Ledgard writes on his site, "I am NOT the person responsible for the WIX/WTL projects. I cite them as examples and am working with people who where responsible for those projects to enable more of the same for the groups I work in." Sorry for the misattribution! -
How To Fight International OSS License Violations?
sirshannon asks: "Frans Bouma's LLBLGen is a free, open source code generator that he licensed under the BSD license so that anyone could use it in any way, as long as they gave him some credit. Now Codease has released a product that apparently uses his code for 90% of the functionality but doesn't bother to attribute it to him. Frans lives in The Netherlands, Codease is in Singapore. What is the correct way to pursue this?" -
How To Fight International OSS License Violations?
sirshannon asks: "Frans Bouma's LLBLGen is a free, open source code generator that he licensed under the BSD license so that anyone could use it in any way, as long as they gave him some credit. Now Codease has released a product that apparently uses his code for 90% of the functionality but doesn't bother to attribute it to him. Frans lives in The Netherlands, Codease is in Singapore. What is the correct way to pursue this?" -
Microsoft's new CLI
An anonymous reader writes "Months ago a story ran regarding a job advert at Microsoft for a developer role to lead the work on a new generation of command line interface. It has now been disclosed at the PDC and its name is MSH (Microsoft SHell), codenamed MONAD. Here is the best description so far."