Monday, September 30, 2013

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

After different suggestion tried from Internet search I found the following 2 options worked for me.

1) Follow the article steps http://www.codeproject.com/Articles/515677/MyplusFirstplusSharepoint-HostedplusAppplusinplus2

and reset your IIS. It will work

2) This is a security feature in the SharePoint 2013 that you cannot deploy an app using System Account. So what is the alternative?

Create another account and give permissions, so that it is NOT the system account.

So I did the following: •Created a new account in AD as “admin1”
•Added “admin1” account into Farm Administrator’s group in Central Admin
•Added “admin1” account as Site Collection administrator to the target developer site
•Added “admin1” account into local administrators group

Ref:

To "Run as different user" using Context Menu
1. Press and hold the Shift key and right click on the program's shortcut or BAT, CMD, EXE, MSC, or MSI file, then click/tap on Run as different user. (See screenshot below)
Name:  Context_Menu.jpg
Views: 5775
Size:  51.6 KB
2. Type in the user name and password of the user account that you want to run this program as. (see screenshot below)
NOTE: If the user account is on a domain, then you would use UserName@Domain or Domain\UserName for the user name instead.
Name:  Log-On.jpg
Views: 7368
Size:  61.2 KB
3. If prompted by UAC, then click/tap on Yes.

4. The program will now be running as that user.

5. When done, simply close the program to stop it from running as that user.


Helpful Post  ref: 
http://www.sevenforums.com/tutorials/419-run-different-user.html
http://blog.mannualag.com/2013/03/07/nuisances-of-starting-developing-apps-for-sharepoint-2013/
 

Tuesday, August 31, 2010

Developer Awards Announced

Developer Awards


redPipit Most Valuble Developer for Developers Community

redPipit is happy to announce the award recoginition program for all the registered users of www.redpipit.com. Yearly one of the most valuable redPipit user, who is more frequent and usefull solution provider for all other users and readers of www.redpipit.com will be awarded as the "redPipit Most Valuble Developer". The final result will be based on the judges and reviewer of the award program. All the best for each and every users of redPipit.

Thursday, August 19, 2010

redpipit forum www.redpipit.com

A long waited community portal for computer technologies. http://www.redpipit.com/ has been launched successfully.



This is fully developed using ASP.NET and C# programming runs completely based on Microsoft Technologies. Technology solution and support given by Arimaan Global Consulting, India.

All community influencers are welcome and invited to participate in this free technology forum and make is has a great success.

Wednesday, August 18, 2010

The server principal "DB" is not able to access the database "_ANTARES_WCF" under the current security context. (Microsoft SQL Server,

Error

Microsoft SQL Server, Error: 916

Many times developers connect remotely to their MS SQl Database using
SQL Server Management Studio. Sometimes when they connect the get the following error:

Problem:
The server principal "DB name" is not able to access the database "Another DB Name"
under the current security context. (Microsoft SQL Server, Error: 916)

Solution:

To fix this SQL Server Management Studio 2008 (maybe in 2005 too), please do the following:

1. Open SQL Server Management Studio 2008

2. Connect to the database server as normal

3. Press F7 to open the "Object Explorer Details" window or click "View" >> "Object Explorer Details"

4. In the object explorer details window expand by double click on "Databases"

5. Right click on the header bar ("Name", "Policy health state", "Recovery Model", etc) and deselect "Collation" from the menu that will pop up

6. From the object explorer, refresh the "Databases"

:

Thursday, August 12, 2010

BOOK : Refactoring with Microsoft Visual Studio 2010

Refactoring with Microsoft Visual Studio 2010

This book will show you how to make your code base more maintainable by detailing various refactorings. Visual Studio includes some basic refactorings that can be used independently or in conjunction to make complex refactorings easier and more approachable. This book will discuss large-scale code management, which typically calls for refactoring. To do this, we will use enterprise editions of Visual Studio, which incorporate features like Application Performance Explorer and Visual Studio Analyzer. These features make it simple to handle code and prove helpful for refactoring quickly.

https://www.packtpub.com/refactoring-with-microsoft-visual-studio-2010/book

Thursday, March 18, 2010

want to develop Windows Phone 7 applications?

Want to develop Windows Phone 7 applications?

The same powerful and easy to use Visual Studio integrated developer environment (IDE) handles from design to testing of Windows Phone 7 Series phone applications.

ASP.NET MVC 2 RTM Now Available

ASP.NET MVC 2 RTM Now Available

ASP.NET MVC is a free, fully supported framework that enables developers to quickly build standards-based, SEO-friendly Web sites by offering complete control over the HTML and URLs. The latest release introduces extensible client-side validation, enhanced model validation, asynchronous controllers, and lots of other features that help developers build Web sites and applications faster. Visit the ASP.NET MVC section and read "What's new in ASP.NET MVC 2" to learn more, and download ASP.NET MVC 2 today

Tuesday, February 02, 2010

Microsoft Visual Studio 2010 64 bit Prerequisites (x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites

"Microsoft Visual Studio 2010 64 bit Prerequisites (x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites.."

When I plan to explore about Visual Studio 2010, I have downloaded the latest beta version available for developers. Than I run the setup in my Windows Server 2008 R2 64bit, it throws the above error with more error log information.
And than I searched for solution in Google, most of them mentioned remove the previous version of .NET framework or previous of Visual Studio from the system and try. But in my system there is no previous version of such software exist. Very few mentioned that remove VC ++ 9.0 Distributed from your system, when I tried that. After uninstalling VC ++ 9.0 and reinstall my Visual Studio 2010 Beta, VC ++ 9.0 gets automatically installed again.

Still no solution found.... researching for solution

Wednesday, January 13, 2010

SharePoint 2010 Certifications

IT Professional track

Before taking the 70-668, 70-667 has to be passed.

70-667+ 70-668 = SharePoint 2010 MCITP (Microsoft Certified IT Professional).

70-667 TS: Microsoft SharePoint 2010, Configuring

Microsoft Official Curriculum: Will cover configuration of SharePoint 2010 including deployment, upgrade, management, and operation on a server farm.

70-668 PRO: SharePoint 2010, Administrator

Microsoft Official Curriculum: Will cover advanced SharePoint 2010 topics including capacity planning, topology designing, and performance tuning.

Developer track

Before taking the 70-576, you need to pass the 70-573.

70-573 + 70-576 = SharePoint 2010 MCPD (Microsoft Certified Professional Developer).

70-573 TS: Microsoft SharePoint 2010, Application Development

Microsoft Official Curriculum: Five-day instructor-led course designed for developers with six months or more of .NET development experience. Course covers what you need to know to be an effective member of a SharePoint development team using Visual Studio 2010.

70-576 PRO: Designing and Developing Microsoft SharePoint 2010 Applications

Microsoft Official Curriculum: Five-day instructor-led training course designed for development team leads who have already passed the Developing on SharePoint 2010 technical specialist exam. The course covers choosing technologies for and scoping a SharePoint project, best practices for SharePoint development, configuring a SharePoint development

All SharePoint 2010 exams and certifications will be available in June 2010.

For more information: https://partner.microsoft.com/40121316?msp_id=sharepoint2010ready

Monday, January 04, 2010

NEW BOOK:Building and Customize your Small-Business Web Site from PacktPub

Build and Customize your Small-Business Web Site


  • Build a highly usable, customer-friendly, and effective web site in next-to-no-time
  • No computerese! Plain English tutorials that everyone can follow and understand
  • Part of Packt's Beginner's Guide Series, offering step-by-step instructions for building a small-business web site from scratch
  • Emphasizes web design fundamentals and best practices along the way
  • Packed with Office Live Small Business Tips, Tricks, and Hacks

More Info

! Free Chaper !

Sunday, January 03, 2010

Windows Vista themes are not applying properly...

I had a problem in getting my default Windows Vista themes back, due to some reason. When I look at my personalization option under control panel. I am getting this for Themes options.
After several analysis, I found that Themes are managed as separate service in Vista. When I checked the same in the service I found that Themes service is Disables/Stopped. Once I started the themes service in my laptop, I got all my default Vista style themes back working fine.


Hope this helps some...

Tuesday, December 15, 2009

Could not load file or assembly 'System.Data.SqlServerCe'

Solution :
When I migrate my 32 Bit VB.NET application to 64 Bit VB.NET 2008 compact application it throws me the error saying "Could not load file or assembly 'System.Data.SqlServerCe' " or similar to this error mesage.

When you run the application it may throw the following error saying that could not load or assembly 'System.Data.SqlServerCe' even after installing the service pack for Vista 64 bit OS and also for .NET framework 3.5 the same error prsist.

Then I identified that something is wrong with the core reference thatis is missing with framework. Then I installed the "Microsoft SQL Server Compact 3.5 Service Pack 1 and Synchronization Services for ADO.NET version 1.0 Service Pack 1 for Windows Desktop"

This installation will solve you the problem.
And then the problem you face is the different one. :)
restart the your system and then follow as per the http://sqlserverce.org/blogs/faq/archive/2007/02/09/missing-system-data.aspx

Thanks
Happy coding

Wednesday, November 18, 2009

Is it the difference?


Design Pattern: Programmatically how the whole system is going to be developed

Architecture: Systamatically how the solution is going to be developed.

Thursday, October 29, 2009

Sunday, September 20, 2009

ASP.NET controls and CSS usage tips

While using ASP.NET controls its hard to override font styles properties from CSS classes, because ASP.NET controls have there own font style properties for most of the controls.
So have this in mind and dont keep on thinking why some of the CSS font style properties not reflecting in the ASP.NET control. Just the font properties of the controls while using ASP.NET controls.

Thanks

Tuesday, September 01, 2009

Microsoft Surface Developer Challenge

The Microsoft Surface Developer Challenge is a fun entry into building intuitive and forward-thinking applications specifically for Microsoft Surface. Instead of simply retro-fitting existing applications for Microsoft Surface, this challenge starts and ends with touch. It’s about touch first computing on the Microsoft Surface platform.

Saturday, August 29, 2009

Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0,

Error Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

The solution worked for me is...
1) I changed target framework to 3.5 in all the projects in my solution
2) Clean all the projects in the solution
3) Rebuild the full solution
4) Open the web.config file and remove the content
<runtime >
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35">
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0">
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35">
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0">
</dependentAssembly>
</assemblyBinding>
</runtime>
and save.
5) Now close the Visual Studio 2008 and open again, clean the full solution and rebuild.
oooorey It worked :)
Hope this may help someone.

Thursday, August 20, 2009

Visual Studio 2008 - The requested page cannot be accessed because the related configuration data for the page is invalid

Error

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server.



Internet Information Services 7.0




Error Summary

HTTP Error 500.19 - Internal Server Error


The requested page cannot be accessed because the related configuration data for the page is invalid.





Detailed Error InformationError Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.




Config Source
   -1:
0:



Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
---------------------------
OK Help
---------------------------

Solution
You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a remote Universal Naming Convention (UNC) share.The IIS_IUSRS group does not have the appropriate permissions for the ApplicationHost.config file or for the Web.config file.

I have given rights to folder which contains the web.config file. Now it works for me...

Tuesday, August 04, 2009

Types and there definitions in C#.NET

Type

Base class that represents any type.

Value Type

Base class that represents any value type.

Reference Types

Any data types that are accessed through a reference and stored on the heap.

Built-in Value Types

Includes most of the standard primitive types, which represent numbers, Boolean values, or characters.

Enumerations

Sets of enumerated values.

User-defined Value Types

Types that have been defined in source code and are stored as value types. In C# terms, this means any struct.

Interface Types

Interfaces.

Pointer Types

Pointers.

Self-describing Types

Data types that provide information about themselves for the benefit of the garbage collector .

Arrays

Any type that contains an array of objects.

Class Types

Types that are self-describing but are not arrays.

Delegates

Types that are designed to hold references to methods.

User-defined Reference Types

Types that have been defined in source code and are stored as reference types. In C# terms, this means any class.

Boxed Value Types

A value type that is temporarily wrapped in a reference so that it can be stored on the heap.

Thursday, July 30, 2009

In-memory application cache for all kinds of data

Microsoft project code named “Velocity” provides a highly scalable in-memory application cache for all kinds of data. By using cache, you can significantly improve application performance by avoiding unnecessary calls to the data source. Distributed cache enables your application to match increasing demand with increasing throughput by using a cache cluster that automatically manages the complexities of load balancing. When you use “Velocity,” you can retrieve data by using keys or other identifiers, named “tags.”

“Velocity” supports optimistic and pessimistic concurrency models, high availability, and a variety of cache configurations. “Velocity” includes an ASP.NET session provider object that enables you to store ASP.NET session objects in the distributed cache without having to write to databases, which increases the performance and scalability of ASP.NET applications.

For more information, see the What’s New topic in the product documentation.

Tuesday, July 21, 2009

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

"The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again."

"Cannot read configuration file due to insufficient permissions"


Solution:
1. Add IIS_IUSRS with Read permission on files in the folder
2. Change IIS authentication method to BasicAuthentication
3. refresh the website. It will work

Monday, July 06, 2009

Save Green, Earn Green, Code Green

Enter the Will Code for Green! developer contest and if your economy or ecology themed web application is chosen as one of the two grand prize winners at the 2009 gnomedex.com technology conference, you'll win $10,000 - enough to take the idea further! Imagine how that could help you help others!

Tell us how your application is either helping people deal with the worsening global economy or helping to improve the ecology of the planet Earth and Show Us how you're coding for green!

Check back every week as the entries grow and vote for your favorites (limit one per category) through August 12,2009! Please see the Official Rules for more information. Just enter your Email Address to begin.

Global SharePoint Survey

This is an independent survey being conducted to get a glimpse into the adoption and usage of Microsoft Office SharePoint products and technologies worldwide. The survey has been designed to ensure we are respectful of your time, no questions are mandatory, the majority of the questions are multiple choice, and the path of questions is customized based on your responses. In total there are fifteen questions

SharepointSurvey

The survey is open to both business and IT professional users of SharePoint. Those who participate in the survey will be eligible to win a conference pass to the 2009 Microsoft SharePoint Conference in Las Vegas (value USD $1199).

Monday, June 15, 2009

Could not write lines to file is denied. Visual Studio 2005

Error 11 Could not write lines to file "obj\Activities.csproj.FileList.txt". Access to the path 'D:\StarTeam\Activities\obj\Activities.csproj.FileList.txt' is denied. Activities

Issue: As you can see, MSBuild is trying to write to the *.vbproj.FileList.txt file in the \obj folder, but access is denied. If you look at this file on disk, you will notice that it is marked as read-only. No big deal, just turn off the read-only flag. You do this and rebuild, but the build passes. Very good! You go home with a nice case of the "warm fuzzies" and sleep like a baby. In the morning you come in to the office to find that the nightly build broke with the same exception. You look at the *.vbproj.FileList.txt file and it is read-only on the build machine. You scratch your head and let out a expletives and then delete the entire \obj folder. Then the nightly build is run again and if fails again damn it! Oh look, the *.vbproj.FileList.txt file is back to read-only. Sounding familiar yet?


Problem: The build fails because the *.vbproj.FileList.txt file is read-only so MSBuild can't write to it.


Reason: The file is read-only because you checked the \obj folder into source control in SteWhenevernevery you do a Getsourcesoruce control, the files are placed on the drive as read-only. The nightly build is configured to delete the prior run's source code (or should be) and Get from source control prior to building. Therefore every nightly build fails in the same way.


Solution: Delete the \obj folder from source control and check-in the change. That's it.

Tuesday, June 09, 2009

So what is XAMLFest?

XAML its all you want...
Are you excited about WPF but concerned about the learning curve? Have you seen Silverlight but don’t know where to get started? Or are you curious about how tools like Expression Blend help designers and developers deliver great user experiences together? If so, join us at XamlFest!

XAMLfest Online is a five day event hosted by msdev.com and delivered through both live sessions and recorded training. The recorded training can be viewed at any time, but each segment should be watched before you participate in a related live session. The table below should help illustrate how each session relates to another.

>Explore more>

Tuesday, May 12, 2009

Solution and Authored Artifact Development Models for SharePoint Products and Technologies

Learn about methodologies and strategies to reconcile differences between Microsoft SharePoint Products and Technologies artifact development and assembly development. The strategies include combining these two components into a single version control repository, such as Microsoft Visual Studio 2008 Team Foundation Server. (12 printed pages)

This article was feel good resource for SharePoint professional...
happy reading >>

Friday, May 08, 2009

Package Load Failure - You may use 'devenv /resetskippkgs' to re-enable package loading

Recently when I planned to explore on the Microsoft ServiceFactory, and leading to that I started setting up the development environment for the same. After installing ServiceFactoryV3 and Guidance Automation Extensions for my Visual Studio 2005, when I opened the Visual Studio IDE I was facing the first innovative task :) to be solved by me was the dll load error for the Service factory.

Handling the error messages of the development tools is not going to the new task for Microsoft technology programmers :) . The following is the error I faced

---------------------------Microsoft Visual Studio---------------------------Package Load Failure
Package 'Microsoft.Practices.ServiceFactory.VsPkg.ModelProjectPackage, Microsoft.Practices.ServiceFactory.VsPkg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=628c8c43ff73aea8' has failed to load properly ( GUID = {3A053D37-49A0-4713-A3C4-6161158FB0C4} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.

---------------------------Yes No ---------------------------

After few analysis I found that the dll's are not properly loaded into the GAC and than using the gacutil.exe I loaded all the dlls to GAC. That solved my problem.

Reference command: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>gacutil /i C:\Microsoft.Practices.ServiceFactory.VsPkg.dll

Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache

Cheers :)

Thursday, April 09, 2009

Server Application Unavailable in IIS for ASP.NET application

Problem :
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

Solution 1:
Open the command promt and direct to the folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
and run the command to install ASP.NET in your IIS
aspnet_regiis.exe -i

Solution 2:
To work around this problem, verify that the ASPNET account has the correct user rights as follows:
a) %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET Files: Full Control
%windir%\Temp: Full Control
b) Application folder: Read
c) %installroot% hierarchy (for example, %windir%\Microsoft.Net\Framework\Version): Read
d) %windir%\Assembly: Read
e) Web site root (for example, %root%\Inetpub\Wwwroot) or the path that the default Web site points to: Read
f) %windir%\System32: Read(Typically, the ASPNET account has already been granted user rights as a member of the Users group.)
-----

---------------------------Microsoft Visual Studio---------------------------
Unable to start debugging on the web server. The web server could not find the requested resource.
Click Help for more information.
---------------------------OK Help ---------------------------
Solution worked for me. Close all the applications and reset IIS in command promt 'iisreset'

problem solved :) cheers

Monday, April 06, 2009

Community Credit Winner! March 2009

Won 3rd Prize in the March 2009 Contest. As you may know, a lot of people competed, but only a few won. Nicely done! Please also keep in mind that your prize is not just a stupid, geeky gift, but it's also a symbol to represent your contributions to the development community. When folks ask you how you won, you can tell them that it was by helping out other geeks. Be proud and brag.

Saturday, April 04, 2009

Unveiled new ASP.NET MVC

ASP.NET MVC enables you to build Model View Controller (MVC) applications by using the ASP.NET framework. ASP.NET MVC is an alternative, not a replacement, for ASP.NET Web Forms that offers the following benefits:
Clear separation of concerns
Testability - support for Test-Driven Development
Fine-grained control over HTML and JavaScript
Intuitive URLs

More on that...

Silverlight 3 Beta Available...

Silverlight 3 Beta was unveiled at MIX09. It is a preview release which continues Silverlight’s track record of rapid innovation - introducing more than 50 new features, including support for running Silverlight applications out of the browser, dramatic video performance and quality improvements, and features that radically improve developer productivity.
The next generation luxurious UI framwork...

Learn more ...

Microsoft Most Valuable Professional 2009 :)

I have been awarded the Most Valuable Professional for third consecutive year by Microsoft. This was great moment in my life to get this honor. Thanks to Microsoft and all of you, for your great support and encouragement.

Friday, March 20, 2009

Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3

This is the SharePoint developer tools for Visual Studio 2008. These tools are suitable for use with Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007.
The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included.

There more and more widely enhanced new features are there... download now to explore more...

Thursday, March 19, 2009

metadata file '.dll' could not found in Visual Studio 2005

When I try to run the ASP.NET 2.0 web application using Visual Studio 2005 i was struck up with some irritating error message "metadata file '.dll' could not found "
Later when I explored on this I found some solutions that solved the problem in my development environment. I would like to share it here, so that it may help others.

Cause of the problem:
Files in the format: App_Web_urfile.dll are created when you compile your web application project using Visual Studio 2005. Every time you compile your solution, the Application is compiled into a 'temp' directory which gets read by IIS or the internal web server available in Visual Studio 2005. In some scenerio, especially if you do a more of testing/debugging, the temp folder gets overload and become unable to understand by the application.

The first option is
1. Clear the temp cache files.
2. Stop or Restart IIS and close your Visual Studio 2005
3. Go to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.__\Temporary ASP.NET Files
4. Delete all the files
5. Re-compile your application and then test.

Hope this help

Sunday, March 15, 2009

WCF REST Starter Kit Preview 2‏

The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that enable users to create REST style services using WCF. While the October release of the WCF REST Starter Kit focused on building server-side REST services, the Preview 2 release adds features to make client-side REST development easier. Chief among the new functionality included in Preview 2 is a new class that provides a staged pipeline model for requesting resources over the web. Using this new HTTP client class allows the developer to plug into the various stages of communication to handle custom authentication, caching, and fault handling outside of the client’s application logic.

http://www.msdn.com/wcf/rest

More on codeplex

Friday, March 13, 2009

How "VSTO 3.0 for Office 2007 Programming" book born, a true stroy!



I started my career in Microsoft technologies. I was very much keen on exploring technologies and designing applications. When I joined one of the world’s largest software services and consulting company in 2006, I was asked to explore on Microsoft’s upcoming technology SharePoint. I was just started the training material and practicing the same. And suddenly the client work has been allotted for a few which includes me in that team. After the work has been allotted for each individual in the team, I and my colleague (and a best friend) got to work on VSTO programming for InfoPath 2003 which is part of our client project. But my best friend she was not interested in VSTO work and she feels this is not the right technology for her career and raised a question for me, do you feel comfortable in VSTO? Is it good for your career growth? I said for me technology is secondary, for me I was keen on the quality of the work I do, whatever the technology may be. Few words to mention about my friend as a developer, she was an awesome developer, and any company in this world should be the luckiest company to have her as a resource.

And this is where the spark fired an idea for me to write a book on VSTO, to write book on VSTO and show everyone that technology doesn’t decide your growth it’s just your attitude plays the key role in your life. Writing a book which is fully authored by me is my long-time dream. I was thinking about this from my school days, one day in my life I will write a book. Now I got an idea for my dream, what I need is to start working on that. There is zero support and encouragement in my organization I worked, feel like stuck between office politics. Under performing guys are ruling the project to failure, even the failure doesn't reflect their originality instead they gets appreciation. So I decided to carry on my career in different organization where I can produce my excellence too. So I decided to leave the most liked and loved company in my life.

First I started writing for the publication with more energy and enthusiastic. My first delivery of chapter was on InfoPath. The chapter returned with huge amount of comments and feedback, which actually said to me better stop writing :). But my editor Jonathan Hassell and Tony Campbell was the greatest; who make me thinks get going... Later before a month of release of the book the press came up with one of the best worst news I have heard in my life, eight months of dedication, hard work and how many sleepless nights is washed away from that news. They said we have decided to withdraw from your book agreement. A few days I was upset and I bounce back with a new idea.

Added new ideas and enhanced the content and approached the Europe’s leading technical publisher PackT Publication and get a green signal precede the project. Again started the works get going and finally the book was on store for sale! Thanks to all crew members of PackT Publishing for their dedication and commitment toward the launch of this book.


When I send message to people and friends I got a great appreciation and response from different people. Those messages are refreshing and boosted my confidence to write another book immediately.

Writing a book is a great adventure ... Congratulation for your book ...... very nice cover :) - Ludovic LefortCongratulations! An awesome accomplishment that requires a great deal of focus and sacrifice to execute on. Great job! - Amanda Murphy
Congratulations Vivek. This is a great achievement. Looking forward to seeing your book - soon! - SS AhmedVery nice... i post this in my blog... Congrats!!! - Vladimir MedinaCongratulations Vivek, this is indeed a great achievement! - Cristina Nardini
Congrats Vivek. Way to go! - Suprotim Agarwal
Great Stuff. It's an area waiting to explored. Glad you did it. Looking forward to see more from you :). - Niraj G Bhatt
excellent work Congratulations. - Ajay Pathak
Great Stuff Vivek!! - Amit Bansal
Congratulations – this looks like a great book. - Geetesh Bajaj
Congratulations !! Your hardwork has reaped you this success:):) - Vijayraj vm
Congrats man. Nice selection of subject. - Praveen Nair
Congrats Vivek Wish you follow it up with many more - Shanmuga Sundara Raman
.... more and more... what to say countless...
Thanks to everyone :)

Tuesday, March 10, 2009

WEB 2.0 from Microsoft

KOBE – Web 2.0 Service Development Resource Kit Kobe is a “getting started” resource kit on planning, architecting, and implementing Web 2.0 applications and services using the Microsoft Platform.

The kit includes a variety of content (presentations, white papers, and a sample project with source code) that caters to these audiences. The implementation artifacts for the sample project included in the kit is targeted at solution architects and developers who are familiar with the Microsoft Platform, and who are looking for information on ways to apply related offerings in the context of architecting and implementing Web 2.0 applications & services.

>Learn more>

Saturday, March 07, 2009

MVP Certification Hero Campaign

Get Microsoft Certified:

Help your community to take advantage of this offer to increase their credibility in the market! All they have to do is go to www.learnandcertify.com by March 31, 2009 to obtain a Microsoft Exam Voucher using your MVP Promotion Code.

This will get you more offers Your Unique Microsoft Certification Exam Voucher Code: GS00DRJ3UV

Use the above to get discount on your certification

Thursday, March 05, 2009

Get the Host name and IP address from ASP.NET

To get the Host name and IP address from your ASP.NET application, we have option is .NET. Using the using System.Net; namespace you have access to the classes which can expose the Host name and IP address.

The sample code to explain the solution. Paste the same code in the page load event of the ASP.NET page.

using System.Net;
//Get the Host name
string strHostName = string.Empty;
strHostName = Dns.GetHostName();
// Then using host name, get the IP address list..
IPHostEntry ipEntry = Dns.GetHostByName(strHostName);
//Get the IP address
IPAddress [] addr = ipEntry.AddressList;
for (int i = 0; i < addr.Length; i++)
{
Response.Write("IP Address {0}: {1} " + i + addr[i].ToString() + ", HostName: " + strHostName);
}

Thursday, February 19, 2009

Composite Application Guidance for WPF and Silverlight v2.0 (PRISM)

The Composite Client Application Guidance is designed to help you more easily build modular Windows Presentation Foundation (WPF) and Silverlight client line of business applications.

These types of applications typically feature multiple screens, rich, flexible user interaction and data visualization, and role-determined behavior. They are built to last and built for change. This means that the application's expected lifetime is measured in years and that it will change in response to new, unforeseen requirements. This application may start small and over time evolve into a composite client—composite applications use loosely coupled, independently evolvable pieces that work together in the overall application.

Read More

Wednesday, February 18, 2009

Creating Custom Field Types in SharePoint using Visual Studio

Here we are planning to create a Custom field will auto populate with the logged in user information. First we need create project with SharePoint assembly as reference. For this create empty SharePoint Application project.
> Start Visual Studio.
> On the File menu, click New, and then click Project.
> In the Project Types pane of the New Project dialog box, select Visual C#, and then select the SharePoint category.
>In the Templates pane, click Empty. Specify a Name and Location for the project, and then click OK. Visual Studio creates a solution that contains an empty project.

Visual Studio Extensions for Windows SharePoint Services 3.0 provides support
for creating SharePoint field types through the Field Control project item.


Now we need to add a Field Control to the Project we have created.

> In the Visual Studio Solution Explorer, right-click the empty project created in the previous procedure, click Add, and then click New Item.
> In the Categories pane of the Add New Item dialog box, expand the Visual C# Project Items node, and then select the SharePoint category.
> In the Templates pane, click Field Control. Specify LoginInfoID for the Name of the field control, and then click Add. Visual Studio adds the new field control to the project.

Visual Studio adds two Microsoft Visual C# code files to the project: LoginInfoID.FieldControl.cs and LoginInfoID.Field.cs. The LogoField.Field.cs file contains code that defines a class that by default is derived from the SPFieldText class and that overrides the FieldRenderingControl property.

Now write the custom logic inside the LoginInfoID.FieldControl.cs file. Refer the this full source attached in this blog for understand the remaining. Download Source Code

Now the field control xml file and deployment.
The XML file must be named in the format fldtypes*.xml (for example, fldtypes_customfield.xml) and placed in Local_Drive:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML
Upload all the .dll files into the Drive:\WINDOWS\assembly folder
At a command prompt, type iisreset to reset Internet Information Services (IIS).
In a view of the list to which you want to add the custom field type, click Settings, and then click Create Column.
Result as shown screenshot


Tuesday, February 17, 2009

Here the Training Course Directory in Microsoft

Here the Training Course Directory in Microsoft, some collection of training videos and events which will be very usefull.

Click here for more

Thursday, February 05, 2009

CAML.NET IntelliSense for SharePoint

Excellent outcome by some of the Microsoft Technology community influencers.
CAML.NET IntelliSense for SharePoint
To build a SharePoint feature, you must write CAML, but the raw CAML schemas produce only minimal editing support in Visual Studio. This project extends the raw CAML schemas with fully annotated XSDs that enable IntelliSense to display full SDK documentation while editing SharePoint XML files. Most SharePoint developers know how to add the SharePoint schemas to Visual Studio so you get IntelliSense when editing CAML files. This is a good first step, but only provides the bare minimum of information needed to build solutions. The result is that you spend a good deal of time searching through the SDK documentation for the necessary details for using a particular CAML element or attribute, or to see the list of valid attribute values.

Explore more

Monday, January 19, 2009

Make sure the application for the file type (.aspx) is installed.

After I created new WebSite in VS 2005 I'm getting this error

---------------------------Microsoft Visual Studio---------------------------

There is no editor available for 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSiteUpload\Default.aspx'.
Make sure the application for the file type (.aspx) is installed.

---------------------------OK ---------------------------

Solution:

run from a Visual Studio Command Prompt, type "devenv.exe /setup" and then "devenv /resetskippkgs" (without the quotes)

Thursday, January 08, 2009

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

Error

"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

This is the error message caused when I developed the ASP.NET application my development server. After few analysis I found that web.config should be moved to root directory from the sub directory. If you all want to have a web.config in the sub-directory, then the only settings you can specify are authorization, appsettings etc., Another root cause for the problem may be you may have one duplicate web.config file in a subfolder.

Friday, December 26, 2008

Configuration Wizard An exception of type System.UnauthorizedAccessException was thrown.

Configuration Wizard An exception of type System.UnauthorizedAccessException was thrown. Additional exception information: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Facing this problem while running the Configuration wizard after installing the MOSS 2007. Do anyone have fine solution to over come this problem?

One of the solution is : The technique to reset passwords is exactly the same as resetting the accounts used. It gives you an understanding of what accounts affect each service.Also, in some cases resetting the password for domain accounts triggers Sharepoint to reset permissions which can fix odd issues like this.

Even this doesn't solve in another environment!

Tuesday, December 23, 2008

Microsoft® Enterprise Desktop Virtualization V1

Microsoft® Enterprise Desktop Virtualization (MED-V, formerly known as Kidaro) enhances deployment, management and user experience for Virtual PC images on a Windows® Desktop, independent of the local desktop configuration and operating system (OS). MED-V leverages Microsoft Virtual PC 2007 to provide an enterprise solution for desktop virtualization streamlining OS upgrades, and increasing IT control and user flexibility in enterprise environments. MED-V solution for Application-to-OS incompatibility accelerates the upgrade path to Windows Vista®. Applications that cannot be installed on Windows Vista® or have not been fully tested on Windows Vista® may be installed by the administrator in a virtual machine that runs a previous version of the OS (e.g., Windows XP or Windows 2000) and operate in their native, supported environment. Learn more!

Tuesday, November 25, 2008

Monday, November 10, 2008

Explore Azure Services

Windows Azure
Windows® Azure is a cloud services operating system that serves as the development, service hosting and service management environment for the Azure Services Platform. Windows Azure provides developers with on-demand compute and storage to host, scale, and manage Web applications on the Internet through Microsoft® data centers.

Cloud computing with…
Ability to run Microsoft ASP.NET Web applications or .NET code in the cloud
Service hosting environment that includes Internet Information Services 7.0 and Microsoft .NET Framework 3.5 SP1
Security supported by flexible Code Access Security policies
Small runtime API that supports logging and local scratch storage
Web portal that helps you deploy, scale, and upgrade your services quickly and easily

Learn more

Microsoft Certified Master

How to become a Microsoft Certified Master

Do you have what it takes to achieve the highest level of technical certification for Microsoft server products? Successful applicants are able to demonstrate their expertise through hands-on experience and prerequisite exams. Complete the following requirements to achieve your Microsoft Certified Master credential.

Microsoft Certified Master program application and registration
Click here to become master :)

Tuesday, November 04, 2008

Visual Studio 2008 in Tamil language interface!

CLIP (Hindi, Tamil and Malayalam) for Visual Studio 2008
The Captions Language Interface Pack is a tool that uses a tooltip caption and/or a small discrete dialog to display translations for user interface items in Visual Studio 2008. The user hovers with the mouse on top of the UI elements to see an instant translation. For version 1.0, the CLIP offers partial localization, i.e. covers only most of the core IDE of the product.

I am very happy that, I have done my small contribution by testing the localization for Tamil Language before this release.

For Tamil http://www.microsoft.com/downloads/details.aspx?FamilyID=4e5258d2-52f4-46b8-8b74-da2dbec7c2f7&displaylang=ta

Tuesday, October 07, 2008

Manual steps to re-create the Show Desktop icon

Manual steps to re-create the Show Desktop icon on the Quick Launch toolbar
The Show Desktop icon is not an ordinary program shortcut. If the icon is deleted, the procedure for re-creating the icon is not obvious.

To manually re-create the Show Desktop icon, follow these steps:

1. Click Start , click Run, type notepad, and then click OK.

2. In Notepad, type the following text on individual lines:
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

3. On the File menu, click Save As, and then save the file to your desktop as Show Desktop.scf.

Note Notepad might automatically append a .txt extension to the file name. Remove this extension if present. The file name should be Show Desktop.scf.

The file must now be moved to the correct folder in the user profile to appear in the Quick Launch toolbar. To manually do this, use one of the following methods.

Ref: MSDN

Wednesday, October 01, 2008

Read SharePoint documents using SQL Server query

Retrieve documents form the SharePoint website and display the same in your Windows forms application. No need to use SharePoint webservices or SharePoint Object model. Just run through the query to fetch the documents from the SharePoint using SQL query.
Sample Code:
private void btnload_Click(object sender, EventArgs e)
{
string RootSite = txtsharepointsite.Text.ToString(); // "http://w2czbmlg01:12345/";
// Opening SQL connection for Microsoft SQL Server 2005
SqlConnection MySQLConnection = new SqlConnection(@"Data Source=W2CZBMLG01;Initial Catalog=WSS_Content_12345;Integrated Security=True");
// Passing SQL command text
string strSQLcmd = "SELECT CONVERT(nvarchar(36), Id) AS ID, '" + RootSite + "'+ DirName + '/' + LeafName AS Name, LeafName FROM dbo.Docs WHERE (LeafName NOT LIKE 'template%') AND LeafName LIKE '%.doc' ORDER BY DirName, LeafName";
SqlCommand MySQLCommand = new SqlCommand (strSQLcmd, MySQLConnection);
MySQLConnection.Open();
MySQLCommand.ExecuteNonQuery();
// Dats set
DataSet Docds = new DataSet("Docs");
SqlDataAdapter MySQLAdapter = new SqlDataAdapter();
MySQLAdapter.SelectCommand = MySQLCommand;
MySQLAdapter.Fill(Docds, "Docs");
for (int i = 0; i < Docds.Tables["Docs"].Rows.Count; i++)
{
// list populates
lstdocuments.Items.Add(Docds.Tables["Docs"].Rows[i].ItemArray[2].ToString());
//lstdocuments.DisplayMember = Docds.Tables["Docs"].Rows[i].ItemArray[2].ToString();
//lstdocuments.ValueMember = Docds.Tables["Docs"].Rows[i].ItemArray[1].ToString();
}
}
}


Just create a Windows Form application and add this code in the form load or button click to get the result.

Tuesday, September 23, 2008

Image Composite Editor from Microsoft Research

Image Composite Editor from Microsoft Research

Microsoft Image Composite Editor is an advanced panoramic image stitcher. You shoot a set of overlapping photographs of a scene from a single location, and Image Composite Editor creates a high-resolution panorama incorporating all your images at full resolution.

read more download

Thursday, September 18, 2008

Visual Studio 2008 Express is available

Visual Studio 2008 Express is now available


Get started creating cool fun projects with one of these Express Edition products.
explore more on .NET 3.5 and more on Microsoft Technologies

Download Now

Friday, August 29, 2008

Shrink Database files in Sharepoint Database

Let's see simple steps to shrink the database files for the SharePoint environment.
First check out the properties first for our SharePoint database files.

Now let's run the SQL command to shrink the database data file
Now let's run the SQL command to shrink the database log file
After these execution look at the property again to check the difference of after shrinking the files.

Tuesday, August 26, 2008

Rapid Tools for SharePoint -- Developer productivity tools for the SharePoint platform.

Rapid Tools for SharePoint from Google Code

Rapid Tools for SharePoint is a set of developer tools that are dedicated to making SharePoint developers more productive. Rapid tools enables developers to build SharePoint custom applications using the full Software Development Life Cycle (SDLC). Traditionally using the SDL with the SharePoint platform has been a painful and awkward process, but with Rapid Tools for SharePoint application developers are now in full control of SharePoint development and deployment in a way that was not possible before.

Explore >>

Friday, August 08, 2008

System Center Operations Manager 2007 Management Packs for SharePoint 2007

System Center Operations Manager 2007 Management Packs for SharePoint 2007
These packs monitor the health state of the components in your SharePoint environment that affect performance and availability. When there is an issue that may cause service or performance degradation, Operations Manager 2007 uses the management packs to detect the issue, alert you to its existence, and facilitate diagnosis and corrective actions.The management packs monitor:

Windows SharePoint Services 3.0 related services (Timer, Tracing and Search)
Windows SharePoint Services 3.0 related Events
Web server applications such as Internet Information Services (IIS)
IIS-related Events
Microsoft SQL Server® database-related events
WSS Server performance
Download
For other products search here

Tuesday, July 29, 2008

Debugging an VSTO and InfoPath 2003 Solution from .Net 1.1

To get the InfoPath to default back to .NET 1.1, you need to update or create a file named INFOPATH.EXE.CONFIG, add it to the same directory as your infopath.exe and add the following:

<?xml version ="1.0" >

<configuration>

<startup>

<requiredRuntime version="v1.1.4322"/>

</startup>

</configuration>

Apparently this goes for any old .NET applications.

Please copy the created file “infopath.exe.config” to your Office11 Folder

(eg: C:\Program Files\Microsoft Office\OFFICE11)

This will force InfoPath.exe to be run in the context of .Net 1.1 and not .Net 2.0

Monday, July 28, 2008

Earn Money with Silverlight Streaming



Free service has gotten even more attractive since the launch of Silverlight Streaming Content Ads - a pilot program that enables you to embed relevant text ads into your streaming video and get paid when people click them. For more information about the program, visit the Silverlight Streaming Web site, or sign up now.

Wednesday, July 23, 2008

"The page cannot be displayed" in MOSS 2007

After the successful migration of my current SharePoint 2003 to SharePoint 2007, some of my users are facing the "The page cannot be displayed" in SharePoint 2007 migrated site. After some analysis I found out the solution which solved my problem.

Solution: If the domain is not listed in the Shared Service Provider (SSP) this error may occur for the user under that domain. Shared Service Administration select the share services for your server then User Profile and Properties then Configure Profile Import in Source section click the view import connections. You will see a list of the connection your SSP is using. Try adding the other domains as separate connections rather than adding the forest this way you have more control and do not replace your current settings.
Else if your DHCP assign a public DNS server, change DHCP to assign only to your DNS server and not the commonly used public DNS server

Tuesday, July 22, 2008

Migrations from both Lotus Domino Servers, and generic IMAP/POP sources

Microsoft Transporter Suite

Microsoft Transporter Suite is a set of interoperability and migration tools to migrate content from Lotus Domino servers or Generic POP/IMAP servers.Transporter Suite contains a set of tools for migrations from both Lotus Domino Servers, and generic IMAP/POP sources. For Lotus Domino the suite contains a set of tools for Directory and Free/Busy interoperability between Lotus Domino 6 or 7 and Exchange Server 2007 and Windows Server 2003 Active Directory. In addition for Lotus Domino the suite contains migration tools to migrate users, groups, personal address lists, mailboxes, personal mail archives, and applications from Lotus Domino 5, 6 or 7 to Active Directory, Exchange Server 2007, and Windows SharePoint Services 3.0. For generic POP/IMAP servers the suite contains a set of tools to bulk migrate mailboxes from any generic email servers that support the POP3 or IMAP4 protocol to mailboxes in Exchange Server 2007.

Explore it...


Tuesday, July 15, 2008

Virtualization and Consolidation with Hyper-V

Hyper-V, a key feature of Windows Server 2008, has now released to manufacturing (RTM) and is available for deployment into production environments.

Windows Server 2008 Hyper-V, the next-generation hypervisor-based server virtualization technology, allows you to make the best use of your server hardware investments by consolidating multiple server roles as separate virtual machines (VMs) running on a single physical machine. With Hyper-V, you can also efficiently run multiple different operating systems—Windows, Linux, and others—in parallel, on a single server, and fully leverage the power of x64 computing.

Try it

Sunday, July 13, 2008

Introducing Windows Workflow Foundation using .Net Framework 3.5 & Visual Studio 2008

Boost your .NET 3.5 skills...

Introducing Windows Workflow Foundation using .Net Framework 3.5 & Visual Studio 2008

This clinic will provide a start point for Enterprise Developers and Software Architects that are looking to Windows Workflow Foundation as a solution for enabling business processes within their solutions. Within the clinic you will learn about the functionality provided by the workflow engine, the overall architecture, and how to build workflow enabled applications.

start learning ...

Tuesday, July 08, 2008

Building a Compelling Mobile User Interface ...

MSDN Virtual Lab: Building a Compelling Mobile User Interface

In this lab, you will learn how to use your existing Microsoft Visual Studio and .NET Framework skills to develop a custom user interface for Windows Mobile.

Click Here For More

Thursday, July 03, 2008

SharePoint 2007 Document Library ContextMenu Hiding

SharePoint 2007 Document Library ContextMenu Hiding

First locate yourself to the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033 fine the core.js. From where the context menu item script runs for SharePoint 2007 Document Library.

Lets hide the "Download A Copy" menu under the "Send To" Context menu. Open the core.js file in best .js file editor. And search for the function function AddSendSubMenu(m,ctx).
Where you can see

menuOption=CAMOpt(sm, L_DownloadACopy_Text, strAction, "");
menuOption.id="ID_DownloadACopy";

these lines of code which will display text "Download A Copy" and call the menu operation, just comment those lines and save.

This is the simple way to hide the contextmenu item in the document library.


Tuesday, June 03, 2008

Monday, June 02, 2008

Character limits in SharePoint 2007

List of names and other parameters with the maximum allowable size on each entity of SharePoint 2007


Friday, May 30, 2008

None of the selected features can be installed or upgraded. Setup cannot proceed since no

While installing Microsoft SQl 2005 you may face this message...

TITLE: Microsoft SQL Server Setup------------------------------
None of the selected features can be installed or upgraded. Setup cannot proceed since no effective change is being made to the machine. To continue, click Back and then select features to install. To exit SQL Server Setup, click Cancel.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=SQLSetup90&EvtType=28108
------------------------------BUTTONS: OK------------------------------
To solve this problem:
To get around this issue, run the setup.exe from the SQL installation source from your Run command with the parameter SKUUPGRADE=1 or UPGRADE=1.
For more ref
Hope this helps you people!

Saturday, May 24, 2008

Microsoft Research Worldwide Telescope

Microsoft Research Worldwide Telescope
Microsoft’s research and launch of Worldwide Telescope, Microsoft is tiring to do something similar to Google's Earth, Moon, etc. ?
Go check out Telescope
Download
Microsoft Research Worldwide Telescope make your computer to function as a virtual telescope.

Sunday, May 18, 2008

Radial Racing Programming support

Recently I have launched the Radial Racing Programming support to support all developers across the global by submiting reuseable codes and tools

My first launch was in CodePlex.com TabControl WebPart

Thursday, May 15, 2008

Deploying Office Solutions Using Windows Installer

Deploying Office Solutions Using Windows Installer

How to deploy a Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office system (also known as Visual Studio 2005 Tools for Office Second Edition, or VSTO 2005 SE) solution using a Visual Studio 2005 Setup project to create a Windows Installer package.

More on that...

This article demonstrates how to use the installer

learn how to

Friday, May 09, 2008

Wonder Microsoft Web Developer Kid



Wonder Microsoft Web Developer Kid

Retrieve File Security Information using C#

Retrieve File Security Information using C#

Verify if file exists in the directory using the System.IO namespace. And retrieving the security information and other details. This as been demonstrated using the Windows forms application.




if (File.Exists(openFileDialog1.FileName))
{
//MessageBox.Show("File exists!");
lbl_existstatus.ForeColor = System.Drawing.Color.SeaGreen;
lbl_existstatus.Text = "File Exist the directory";
}
else
{
lbl_existstatus.ForeColor = System.Drawing.Color.Red;
lbl_existstatus.Text = "File Missing in the directory";
}

Query the secuirty inforamtion of the file using the System.Management.

using (ManagementObject o = new ManagementObject(@"Win32_LogicalFileSecuritySetting.Path='" + fileName + "'"))

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...