Project Description
Provides remote access service (RAS) components for .NET languages like C#, VB.NET, and C++ CLR projects (2.0.50727 and later only).

Check out the video demo channel on YouTube
You can also follow the project on Twitter. This will be used for notification of features as they are completed along with new releases.

Attention - Support for .NET 2.0 will be ending with the 2.0 release!

I wanted to make sure this was communicated well in advance. I am currently waiting for the 1.3 release to be finished, so this is probably quite a ways out (maybe a year or so). The intention is to make some modifications to adopt the new asynchronous programming model using the TPL used by .NET 4 for this version to make the product await compliant. Windows 8 will still be supported for the 1.3 release, which will also still support .NET 2.0. Please be aware of the methods marked obsolete methods in the 1.3 release because they will be removed in 2.0. As of right now these methods are simply marked as obsolete, they will not cause build errors, and are stilly fully functional, however as of 2.0 (the release after 1.3) they will be removed.

Help support the project - Make a donation!

With the amount of effort in this project, any amount of compensation is greatly appreciated. Donations also help keep the project open source and free for the community. If you would like to make a donation to the project, click the link below to be directed to PayPal. Thank you!

Latest News
01/03/2013 - Well it's official, DotRas v1.3 has finally moved into release candidate and all code is now frozen for the next few months while any bugs are identified and fixed before release. This release adds in much needed diagnostic capabilities for logging what is going on internally in the SDK. For more information, check the EnablingDiagnosticLogging example included with the download.

06/25/2012 - Well I had some free time this evening so I thought I'd so some investigation into what RAS changes will be coming in Windows 8. I only managed to find 2 things that have changed in the SDK for the Release Preview, so since there will be RAS changes in Windows 8 I went ahead and got the infrastructure changes in place to be able to handle a new WIN8 build flavor. If there aren't many changes once Windows 8 goes RTM it shouldn't take long to get an RC for DotRas published here. Stay tuned for more info!

05/28/2012 - With the upcoming release of Windows 8, I thought it might be worthwhile to put a roadmap update out to include this new operating system from Microsoft. Since there were significant RAS changes in the Windows 7 Beta to RC from Microsoft, I won't begin investigating the RAS API changes until the RC for Windows 8 has been released. After the API changes have been implemented, and assuming once Windows 8 RTM gets released there are minimal to no differences between RC and RTM, DotRas 1.3 RC1 can be released for a 6 month long cooling period to make sure the code is stable. Once all the outstanding bugs have been fixed, DotRas 1.3 RTW will be released.

As for WinRT support, I'm still unsure whether RAS will be supported in that environment. More updates will come regarding this once I begin my investigation once Windows 8 RC is released.

09/03/2011 - I wanted to put a quick message for those that are considering using the project but do not see any active development being done on the project. As of this point, the product is for the most part feature complete with all major APIs done. Until the next version of Windows is released there isn't much to be done other than a couple minor maintenance features I was debating about adding. Support is still being given on the discussions forum and any bug work items reported will still be completed, however no new features are expected to be added anytime in the near future.

06/01/2011 - As promised, DotRas v1.2 RTW has been successfully released. It has been a long road, and I'd like to say thank you to everyone who has been working with me by reporting bugs, opening discussions, and helping fund the project through donations. With the community help driving bug fixes, and working through problems found with some not-so-well documented features of RAS this release will without a doubt be the most stable yet. It remained in RC2 for nearly 7 months, but I firmly believe with the amount of time invested anyone consuming 1.2 will have an extremely stable product. All unit and integration tests passed (the total test count is somewhere around 2100), and I am looking forward to starting on 1.3! If a bug you reported was not fixed in 1.2, rest assured you have not been forgotten. I'll probably be taking a break from actually working on features for a bit and focus on stability, cross server compatibility, and trying to stand up L2TP and EAP certificate based servers in my test lab to aid with ensuring these features remain viable for corporate developers. Thank you all!

05/29/2011 - I finished changing the project build file to allow compiling both 2.0 and 4.0 runtime versions of the assemblies. Since that was the last item I wanted to include in the 1.2 release, I'm tentatively scheduling the 1.2 release on June 1st, 2011.

11/12/2010 - DotRas v1.2 RC2 has been scheduled for release on 11/15/2010.

11/03/2010 - Even though I haven't received any donations to the project, I felt it necessary to spend the money to purchase an Authenticode certificate. Due to the number of downloads and the potential for businesses to use this product, it seemed necessary to ensure their safety by providing this extra layer of security on official releases. If anyone feels like helping pay for the purchase, please donate using the button below. Thanks!

09/01/2010 - DotRas v1.2 RC1 has been released! If you find any bugs please make sure you report them so they can be fixed. Thank you for your cooperation!

08/26/2010 - After last night I've finished the majority of the CredentialPromptDialog, all I have left to do is implement one more API for WIN2K8 and WIN7 builds (CredUIPromptForWindowsCredentials) and I'll be ready to move the product into RC1 for testing.

05/09/2010 - Happy 2nd Birthday DotRas! This project has came a long way since first starting. Originally it only exposed the interop calls directly with no real support for handling errors, and really didn't have much functionality. Now, two years later, most of the RAS API is implemented using components, error handling is outstanding, integration testing is now being performed against 3 different servers using virtual machines, and we have documentation available.

03/18/2010 - I just wanted to throw out a quick update on here. Windows 7 support has now been completed under development! I'm hopeful the 1.2 SDK will be able to go into release candidate within the next three months. I still have a few more work items I want to finish before 1.2 moves to RC, the biggest of which I've been promising for a while now is prerequisite dialing. Please be patient, it's going to take some time to complete.

I thought I would make a special note for those that remember the "RAS Library for .NET 1.1" project from its days back on the GotDotNet site before it was phased out for CodePlex. I didn't like how I wrote the assembly back then and it was my first attempt at p/invoke. This is a complete rewrite from the ground up of that assembly. If you're still using it in your project, I would suggest getting the latest copy of this project from the releases section.

Last edited Jan 3, 2013 at 8:33 PM by jeff_winn, version 136