Software Architecture? What Software Architecture?

Let’s start with a small exchange, experienced by almost all of us; developers at some point in their life.

Rookie Dev 1: What is that architecture diagram and the document?
Dev 2: Nothing bro, just that architect and BA had fun for 4 weeks on-site and gave us this 1 document and now expect us to design and develop the application in 8 weeks!
Continue reading “Software Architecture? What Software Architecture?”

To Vector or to Vector : Vector3D confusion in Unity3D

As you know, I have been dipping my feet in Unity3D for sometime now and have been talking to a few people. Unity has been attracting users/developers from a vast range of backgrounds, from artists to Ph.D holders and hard core developers. As with any 3d package, you need to rely quite a bit on Maths to Continue reading “To Vector or to Vector : Vector3D confusion in Unity3D”

When worlds collide, what happens to IT?

Every now and then, we, the people in IT field keep on hearing stuff about the next big thing or the latest buzzword. Be it Analytics, Big Data, Cloud and more recently Internet of Things (IoT). Every year or two, new buzzwords come up and start defining the timelines.

Truely, things are moving at speed of light and innovation is happening at break-neck speed. Things are getting connected. More and more data is being generated with each passing day. More and more sensors are getting affordable and getting placed everywhere and keep track of our life.

Continue reading “When worlds collide, what happens to IT?”

How to provision files using SharePoint 2013 app

With release of SharePoint 2013, Microsoft has been promoting isolated space idea for the code written for SharePoint 2013. Take example of workflows, which are now hosted in a different workflow service rather than within the SharePoint server.

Similarly, Microsoft has been promoting creation of apps for SharePoint rather than deploying Farm or Sandbox solutions. This model for apps works fine for most of the times. But at times this model of running the code out of SharePoint can be a pain in the neck. E.g. There are lots of files/content that needs to be deployed within the SharePoint site itself (remember, your SharePoint team site/mysite etc. becomes the host web for the app).

Earlier we used to create Modules to deploy files into SharePoint or if we wanted to deploy any content type etc. But that model is no more available within SharePoint apps.

Continue reading “How to provision files using SharePoint 2013 app”

What the hell is cloud?

This was the question pointed right at me, while at a party, when I told a bunch of guys that I work on SharePoint solutions on cloud. It was an awkward situation to be in and somehow an image installation by Berndnaut flashed in front of my eyes.

A cloud in your room

An artist, Berndnaut Smilde, created cloud inside a room. Berndnaut Smilde creates clouds using a smoke machine, combined with indoor moisture and dramatic lighting to create an indoor cloud effect. This print is called Nimbus II, 2012 cloud in room.

Continue reading “What the hell is cloud?”

SharePoint 2010 : How to retain Document ID while moving documents

Today’s water cooler discussion revolved around Document ID management system of SharePoint. It is a nice feature and can actually help to find the documents quickly and in a predicted manner. Basically you get a short URL in SharePoint for your document, rather than a cryptic one and SharePoint will find the document no matter where you moved it.

But there is a catch, it will be able to find it if you move it within the Site Collection. If you move it out of the site collection, a new Doc ID will be generated and assigned to the document. BOOM!! your short URL is pointing to nothing now.

So how do we move documents without changing their Doc ID?

Continue reading “SharePoint 2010 : How to retain Document ID while moving documents”

Control a Windows Service from SharePoint Central Admin site

You are a very good developer and have created a great windows service that works like a charm and your CEO likes the functionality and would love to have your SharePoint Administrator control it from the SharePoint Central Administration Site !!!!

What a lovely scenario 🙂

But what also is interesting in this is, that the usual way to control windows services will not work properly when used from within the SharePoint. So then how do you do it? Well, SharePoint itself comes to our rescue and provides us a couple of classes knows as SPWindowsService and SPServiceInstance which will allow you to control your windows service from SharePoint.

Well, there are a few steps that you need to follow to make sure you are able to control and use the windows service from within the SharePoint’s context.

  • Use the classes SPWindowsService and SPServiceInstance classes to wrap the Windows Service.
  • Add these services to the Services to the servers of the farm.
  • Register the service to the desired servers in the farm.
  • Provide custom aspx pages (as Application Pages) that can be used to start/stop the service.
  • Use SPJobDefinition to start the service. This way, the service can also be started on a remote server.

For further reading, I would suggest that you go through this article in April 2009 edition of MSDN magazine.