It is actually not difficult to move your asp.net application to Azure even if you are using Sessions.
This is just because of the services offered by Azure Cache. In the end, you only need to make few changes your web.config and you will be running your session through distributed cache which is provided by Azure Cache.
In simple terms, the following is the only thing you need to do:
<sessionState mode=”Custom” customProvider=”DistributedSessionProvider”>
<providers>
<add name=”DistributedSessionProvider”
type=”Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache”
cacheName=”default” applicationName=”Contoso”
useBlobMode=”true” />
</providers>
</sessionState>
Please read more @ http://msdn.microsoft.com/en-us/library/windowsazure/gg185682
.net, Architecture, asp.net, Azure, Caching, Cloud, Development, Session
I still can’t believe there is still no support for Azure in Dev 11 / .Net 4.5
There are ways to do so but not nice yet.
I would like to get the bits to publish my .Net 4.5 ASAP!
.net, asp.net, Azure, C#, Development
So far, the best tool I’ve seen is Selenium (with Firefox recorder of course) for functional testing.
It covers most things that one may want to achieve.
Here are the points where Selenium (http://seleniumhq.org/) shall be used
- Functional testing of web pages (not only web of course)
- Validation content on the page
- Image
- Text
- Source code (rendered of course)
- css
- Note
- And above things by specifying where you expect it
- You don’t need to code for that, you just specify those using the recorder tool (it does it for you)
- Run complete tests as unit test
- by default it is Nunit but it is not a big deal to convert into MSTest format
- Just imaging adding function UI test code coverage results into all other unit test coverage results
- Regression testing
- All test scenarios combined
- All browsers and versions for all scenarios
- Simply stop doing manual test please, it is very easy to do with this tool (not limited to .NET etc.)
Here are the points where Selenium shall not be used for
- Performance testing
- Please note, selenium is browser based tool so it will open up a browser
- Before you reach to the target servers limits you will reach executing machines limits because of having so many browser windows opened by selenium test
- Javascript coverage
- I would say don’t go for this because
- You probably use many javascript files anyway
- Most of those can be from other vendors than your own
- It is extremely difficult to manage that (long story to explain)
- What would you get in the end?
- You can try this but only if you’ve mastered your actual code with more than 90% coverage
- Your functional testing actually covers your javascript anyway and as jscript is not compiled code, plus it can be fed by CMS or it can be hosted outside of your servers, it will not make too much sense to do it. You will never get a good figure.
I hope this also helps a lot.
Let me know if any changes are required
asp.net, best practices, code coverage, Development, free tool, QA Automation, quality, Simplicity, unit testing
Common problem as you cannot use “aspnet_regsql.exe” tool.
Fix is also very simple, just follow instructions @ http://support.microsoft.com/kb/2006191
Once done, you are good to go, just launch your asp.net configuration utility and enjoy.
Ohh , before I forget, you can ignore the script execution warnings such as “Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself.”
Enjoy
.net, asp.net, asp.net membershio, Azure, Cloud, sql azure
Here we go,
After so much name discussion, finally project name is clear.
- It needs to be on the cloud (Azure)
- It needs to be clean (Green)
- It needs to be unique
So what makes the gloudcms?
- Runs on cloud
- Currently only designed for windows Azure
- Be Green
- Implement all best practices
- All code analysis rules are passing (implemented
) √
- 100% code coverage (not yet implemented)
- Clean implementation √
- Easy to integrate / install √
- Only requirement to install is
- Put the dll file into your bin directory
- Make 1 line change in web.config
- Copy “Template” folder which contains CMS templates you want to implement (make your own also)
- No additional hardware requirement √
- Platform independent (other that being on .net platform) √
- Can run on azure
- Can run without azure
- Multi-lingual
- Currently supports only
- English
- Turkish
- Looking for translators for other languages send me email from sevket01@sevder.com
Do you want to test drive what is there so far?
Ok, I am not offering all fancy things you can test yet, just a simple admin view is there without saving.
Please note, the importance of this preview is about having simple installation on base asp.net application and being on cloud and implementing all static code analysis rules.
From now on, all features will be coming in and making this very interesting.Simple change in web.config for Azure:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" >
<add name="gloudcms.net" type="SGCmsBase.SGIntercept" />
</modules>
</system.webServer>
Change in regular web.config (No Azure)
<system.web>
<httpModules>
<add name="gloudcms.net" type="SGCmsBase.SGIntercept" />
</httpModules>
</system.web>
.net, asp.net, Azure, best practices, Cloud, CMS, Code Analysis, code coverage, Development, gloud, gloudcms, quality, Simplicity, unit testing
There are few very strong QA Automation frameworks available which are watir, watin and selenium so far that I’ve seen quite promising.
All of those have one thing in common. They are all free unlike extremely expensive IBM Rational or HP QTP.
What makes the selection is some factors but most of all, experience of the users with them.
I consider the following to be some killer decisions.
- Ability to have different execution plans based on different scenarios
- Ability to have X many scripts
- Based on scenario execute Y many of them (Y < X) automatically. Such as after every nightly build.
- Proper reporting
- Speed
- By nature of the framework to be able to run fast
- To be able to execute X many scripts simultaneously
- To be able to execute same script in Y many browsers simultaneously
- Support for web browsers (as many as possible)
Looking forward for your inputs
Sorry, there are no polls available at the moment.
Build quality, QA Automation, quality, Question
It has been some time since I’ve posted regarding my CMS work.
It is going well and here are the achievements so far..
I am moving the contents to the defined template zones with admin preview options.
The challenge: Properly placing contents at where we really want them to be and saving this setting per each page.
asp.net, Challenge, CMS, Development, milestone
I’ve been interviewing several candidates throughout the week and here is the frustrating observation.
Many candidates
- Don’t know unit testing
- The ones who know don’t know code coverage
- Many hear the phrase from me only
- Some use it for site monitoring rather than code health check
- The architect level experienced ones can’t do simple web project
- Not asking too much, just have form, validate data, save into database and show on another page (list of data from database)
And we are not offering low salary for this. Still I am surprised that many fail on those.
Still waiting for the perfect talent to come soon.
Architecture, asp.net, code coverage, Development, failure, Hiring, interview, quality, unit testing
I am still looking for a good name for my cms.
Here are some options which I am thinking
- Super glued CMS
- Simple .NET CMS
- Simple DotNet CMS
- Simple Adoptive CMS
- You control CMS
- Please suggest names
Anyway, here is the current status:
- Now able to inject existing content into template containers
- green dashed are the content zones
- based on your template from the templates folder
- Ok, there is one more thing to use other than web.config
- You need to add the dll of my CMS
- You need to make a little change in web.config
- And you need to have a folder called “Templates” with ascx files (those are your templates)
- And identifying movable contents in the existing page which you can drag and drop to content zones.
- red dashed are the movable content sections
- @ is the link for the future management menu

- CMS Conent Zone and Movable Zone Identification
So far this is where I am.
Hope to improve this day by day.
Still looking for interested developers…
asp.net, CMS, Development, Simplicity