SharePoint Development Tip: Clear Browser Cache with Post Build Event

sharePointLogo

Recently I have been working on a customization of Project Server 2010, which is over course built on SharePoint 2010.  One of the frustrating things I encountered was that changes to my JavaScript files didn’t seem to take affect.  Every time I made an adjustment to the script and then debugged the solution on my SharePoint development machine it would deploy the files but it wouldn’t always pick up the changes in the JavaScript files. 

I did finally figure out that if I started the solution in debug mode and when the browser launched I would to go Tools->Internet Options and clear the the browser history and then refresh the page it would pick up my changes.  But, oh my gosh, what a pain to have to do that every time I wanted to test something.

While looking for a sample about I watched the MSDN Webcast: Project 2010 JS Grid Extensibility: Project Web App (Part 1 of 3), there at the end was the answer I had been looking for. 

The solution use the Solutions Post-Build event to clear the cache before the browser launches, BRILIANT!  Not only was the tip great but it gave the command to add as well.

rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 8

Presto, chango, it worked like a champ, all are cleared from the cache before the browser starts.  I have had the issue since I add this.

If you are interested in watching al three videos you can find them here on the Project Programmability and Business Intelligence blog.

Happy SharePointing…

Community: SharePoint Saturday Ozarks

SharePointSatOzarks

SharePoint Saturday Ozark is a one day educational, informative, and lively day filled with sessions from respected SharePoint Professionals and MVP’s. The event was held on July 18th at the South Campus of the North Arkansas College in Harrison, AR, a beautiful vibrant city located in the heart of the Ozark Mountains. The event was organized by Mark Rackley, The SharePoint Hillbilly and member of the Ozark .Net User Group. Over 75 attendees turned out for over 25 sessions covering all aspects of SharePoint from custom development, administration, and branding. There were even a few sessions for .NET Developers.

The event was fantastic, not only where the sessions awesome in every track, it was a great to see how the SharePoint community is coming together and growing. There were lots of great conversations regarding SharePoint and community going on outside the sessions and continued at the SharePint. A SharePint is an after party event where attendees and let their hair down and relax. The SharePint for this event was held at Hotel Seville which was built in 1929.

To find out more about SharePoint Saturday or to get started organizing one in your area be sure to check out the SharePoint Saturday website at http://sharepointsaturday.org. The SharePoint website also list dates and locations for other SharePoint Saturday events. Mark has also posted a great article titled Organizing a SharePoint Event: What you need to Know to help get you started, it is a great overview of the process of putting on a regional event.

I would like to thank Mark Rackley and the SharePoint Saturday event staff for putting on an awesome event and I look forward to SharePoint Saturday Ozarks 2010. I hope to see you there.

This write up also appears on the INETA August Newsletter: here

View previous INETA Newsletters and sign up to receive them via email

Organizing a SharePoint Event: What You Need To Know

Mark Rackley, The SharePoint Hillbilly, not only put on a great SharePoint Saturday Ozarks event, but has written a blog post to let everyone know what you should consider if you are thinking about putting on an event like this.  The great thing is that what he discusses could apply to any regional event.

He has great advice on recruiting speakers, sponsors, selecting the venue, website, and day of venue organization.

Mark thanks for putting on a great event and sharing your experience with the community.

Check out the full article here: Organizing a SharePoint Event: What You Need To Know

Tulsa School of Dev March 28, 2009

SchoolOfDev_Tulsa_2009_jpg

School of Dev 2009 - Saturday, March 28th 2009 is going to be bigger and better than ever!  This year we are joining efforts with the first ever SharePoint Saturday Tulsa!

Offering something for everyone! SharePoint End Users, Developers, Administrators and Architects.  Of course, the School of Dev content will continue to deliver for everyone from beginner to advanced developer!

There's no greater pleasure for an event organizer than to have the advanced developers come up after an event and say how much they learned. This is what happened last year. This year will be even better.

You think you already know it all? Show up and you'll feel like you should be a contestant on "Are you Smarter than a 5th Grader?".

Registration will be open soon, so keep your eye on the School of Dev 2009 site for more details.

SharePoint Features at NWA .NET User Group

Zach Young, Vice President of the NWA .NET User Group has posted an updated regarding the groups August 5, 2008 meeting.  Steve Walker, colleague and friend will be presenting on SharePoint Features.

Steve Walker is a Senior Consultant for Microsoft Consulting Services in the South Central Region. Steve has been developing enterprise applications for well over a decade and currently specializes in development on the WSS3.0 and MOSS 2007 platforms but has extensive experience in security, infrastructure, Service Oriented Architecture and general .NET Development for the desktop and the web.

Session Description:  Microsoft SharePoint 2007 is an incredible development platform for building pretty much any type of web application that you currently build today. We will cover how to extend SharePoint through the use of features and solution deployment packages. We will cover some best practices that I have learned while developing on this powerful and robust development platform. Bring your SharePoint development questions as we will have an open QA after the formal presentation.

You can find out more info about this at the Northwest Arkansas .NET User Group, here is a direct link to the calendar event here.

This months meeting location is NWACC Corporate Learning at 4004 N. College Ave, Ste L. Fayetteville, AR.

Calendar

<<  July 2017  >>
MonTueWedThuFriSatSun
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

View posts in large calendar

Month List