Azure storage URLs are case sensitive as you may have noticed. If you have not noticed then: OMG AZURE STORAGE URL ARE CASE SENSITIVE!!1! This is most likely because URL specification states that URLs should be case sensitive so as to ensure different casings should represent different locations. Admittedly, this is rather odd when compared with IIS and subsequently web sites running in Azure.
I am a developer and architect by trade so I am more than aware of the importance in maintaining consistent URLs throughout a web site. Search engines index sites in a case sensitive way and so it is important not to accidentally display duplicate web content on differently cased URLs. To handle this in the past I have always insisted that my teams adopt a lower case policy where by every URL written in code, links, references etc are always written in lower case. This avoids such an SEO disaster. I also create a redirect rule using IIS Rewrite Module to 301 redirect any URLs containing uppercase characters to its lowercase version.
With this policy in mind it should not be difficult to now use Azure storage by simply maintaining these standards. It is wise to create a repository class that will handle all interaction with Blob, Tables and Queue storage that can abstract common rules away from the developer each time they wish to use them. One of these rules would be to ensure that when saving to these repositories the filenames and containers are lower cased using .ToLower()
(in C#). Also when getting an object from storage you could also ensure that the file name requested is also lower cased in the same way.
This does not however prevent users accessing the URL using uppercase but really according to the URL specs they should not and using smart code you can most likely avoid this from happening. For example, if links are only ever displayed in lowercase someone if very unlikely to ever access it using uppercase.
Azure case sensitivity conclusion
So in summary, although it is an odd inconsistency between IIS and storage it is only a trivial programming exercise to enforce and a minor coding standard to communicate to your team. This will ensure that storage is always used as intended allowing you to reap the great benefits of using Windows Azure Storage.
Your articles are always interesting and understandable. Thank you!
ReplyDeletedmk website url
Avriq MAP
ReplyDeleteAvriq
CCTV Camera
Pest control services
PC Optimization
CP Plus
Termite control services
Thank you for such a wonderful post! Tutuapp for android
ReplyDeleteI enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again.
ReplyDeleteMenmyshop
Touch Hypersonic Double Din Player Mirror
J3L Touch Double Din Player
Hypersonic Double Din Player Mirror
J3L Double Din Player Mirror
Hyundai Xcent OEM Double Din Player
banzara
It is a nice post. vivavideo pro
ReplyDeletekinemaster pro
picsay pro
Patrachar Vidyalaya Admission Form
ReplyDeletePatrachar Vidyalaya Shalimar Bagh
Open School admission
Cbse Patrachar
Motifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium Lawn, Lawn 2019, Best lawn collection, Motifz, Best Lawn in Pakistan, Shipping worldwide. Stitching option available.
ReplyDeleteThanks For Share this useful information! Tutuapp APK IOS
ReplyDeleteNice Thanks For Share. TutuApp APK
ReplyDeleteNice post tutuapp
ReplyDeletewedding photographers indore
ReplyDeleteI was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. storage containers
ReplyDeleteAwesome blog. I enjoyed reading your articles.
ReplyDeletetutu app
tutuapp download
Wholesale printed custom perfume boxes with the highest quality and affordable prices. Free worldwide Delivery and free Custom Perfume Boxes design.
ReplyDeleteBuy online wholesale printed custom makeup boxes and packaging at easy prices and shipping worldwide, with 24/7 customer support. Get a free custom quote now!!
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom cbd boxes sooner than any other packaging competitor in the market
ReplyDeletemylar label bags in stock now. Ready made Cali pack designs. Fast Shipping at Your Supplies. Custom designs available
ReplyDeleteBlackbird packaging provide you with any size, shape design, cbd tincture boxes sooner than any other packaging competitor in the market
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom cbd tincture boxes sooner than any other packaging competitor in the market
ReplyDeleteGreat Article
ReplyDeleteCloud Computing Projects
Networking Projects
Final Year
Projects for CSE
JavaScript Training in Chennai
JavaScript
Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals,
Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer.
Angular Training
custom printed printed mylar bags uk in stock now. Ready made Cali pack designs. Fast Shipping at Your Supplies. Custom designs available
ReplyDeletecustom printed Direct Printed mylar bags in stock now. Ready made Cali pack designs. Fast Shipping at Your Supplies. Custom designs available
ReplyDeleteI would like to be your pen friend...You can write me email on genuinehotelescorts@gmail.com for
ReplyDeleteJaipur Escort
Jaipur Escort
Jaipur Escort
Delhi Escort
Guwahati Escort
Guwahati Escort
Guwahati Escort
Guwahati Escort
Lucknow escort
Aerocity Escort
I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article
ReplyDeleteLove back Solution Specialist
Vashikaran specialist
Love Vashikaran Specialist
Vashikaran Specialist in Chennai Vashikaran Specialist in Jaipur Vashikaran Specialist in Karnataka Vashikaran Specialist in London UK Vashikaran Specialist in Dubai Vashikaran Specialist in Australia Vashikaran Specialist in Punjab
buy chiffon collection online from afrozeh at best prices. get free shipping in pakistan
ReplyDeleteDo your grocery online in pakistan at Al-Fatah, Pakistan's best and largest online grocery website. Shop from a wide range of grocery including oil and ghee, tea and coffee, dry fruits and seeds, dairy and fresh bakery items, packaged foods, snacks and beverages, baby care, household essentials, fruits and vegetables and many more.
ReplyDeleteWe at Al-Fatah have perfected the floor care with the right variety of Vacuum Cleaners available under one roof. Al-Fatah is a One-Stop Shop for all your home appliances buying needs. Buy best variety of Vacuum Cleaners online in Pakistan at Al-Fatah. Shop Vacuum Cleaners of Top & Genuine Brands in Pakistan at Al-Fatah now!
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom bath bomb boxes wholesale sooner than any other packaging competitor in the market
ReplyDeletebaby care product from Medisense.pk. Get free shipping.
ReplyDeleteBuy compression shirt pakistan from dshred at easy prices delivered at your doorstep. Get free shipping.
ReplyDeletebuy inner for girls online from dshred at easy prices delivered at your doorstep. Get free shipping
ReplyDeletebuy sports inner for girls online from dshred at best prices delivered at your doorstep. Get free shipping
ReplyDeleteNDURE presents the ultimate fashion formula for men in the form of mens shorts. Get the best chino shorts from NDURE that are not only sports shorts but also great for everyday wear. Our wide range of shorts for men is crafted keeping in mind your comfort. So shop online to get your hands on the best shorts in Pakistan.
ReplyDeletebuy crop top for girls online from Dshred at easy prices delivered at your doorstep. Get free shipping
ReplyDeleteBuy best t shirts for men online from Dshred at best prices delivvered at your doorstep. Get free shipping
ReplyDeleteBuy bath and body essentials from Al-Fatah at best prices delivered at your doorstep. Get free shipping
ReplyDeleteShop for a huge range of makeup online and skin care products for both men and women at Al-Fatah, Pakistan’s leading chain of departmental stores. Shop from a huge range of top brands Women’s cosmetics and skin care products for both men and women from Al-Fatah. Free Delivery on orders above 1000 PKR in selected cities.
ReplyDeletebuy treadmills online from Al-Fatah at best prices delivered at your doorstep. Get free shipping.
ReplyDeleteBorjan offers its customers the best casual rugged shoes online in Pakistan. We have the highest quality rugged boots for men in Pakistan for the most affordable prices. Get Borjan's amazing collection of rugged shoes for men online. Get your favorite rugged boots for men from Borjan to enjoy style and comfort at the same time.
ReplyDeleteNdure offers their customers the highest quality jackets for men of all types, including leather, bomber jackets and windbreaker jackets. Get the best available Men's waterproof jackets online in Pakistan. So, buy the best puffer Jackets and hooded jackets from Ndure online. We bring you high-quality men's Mock neck black Gilet Jackets.
ReplyDeleteGrab the amazing girls nighty online from Enem Mall right now With Enem Mall, you can easily get the best luxury womens lingerie with ease.
ReplyDeleteIf you are looking for Pakistani luxury pret then buy a party wear dress online from Seran. Trending Fashion.
ReplyDelete