12.07.2015 Views

net developer's journal sneak peek - sys-con.com's archive of ...

net developer's journal sneak peek - sys-con.com's archive of ...

net developer's journal sneak peek - sys-con.com's archive of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FeatureEnterprise .NET for Smart DevicesIntroducing the .NET Compact Frameworkand Smart Device Extensions for VS.NETEVERYWHEREBY CHRISTIANFORSBERG& ANDREAS SJÖSTRÖMHOMEDESKTOPSERVER22if you want to extend yourexisting <strong>sys</strong>tems as wellas your knowledge <strong>of</strong>.NET development whilebuilding solutions for smart devices,the upcoming .NET CF (CompactFramework) and SDE (Smart DeviceExtensions) are definitely the way togo. In this article we provide anexample <strong>of</strong> how to implement amobile application that can work asan extension to your existing <strong>sys</strong>tems,and also show you how toextend your knowledge <strong>of</strong> .NETdevelopment.It’s perhaps more true than everthat mobile solutions rarely standalone. Most <strong>con</strong>sumer-orientedapplications are created to work inan <strong>of</strong>fline or dis<strong>con</strong>nected mode,but for enterprise solutions theincreasing <strong>con</strong>nectivity <strong>of</strong> newdevices opens up enormous possibilitiesfor online and “sometimes<strong>con</strong>nected” applications as well.When looking at real-world businessscenarios and the capabilities<strong>of</strong> current mobile devices, it’s obviousthat the options are greater thanjust <strong>of</strong>fline or online. Specific userrequirements such as “how <strong>of</strong>ten?”and “at what bandwidth?” shoulddetermine where on the scale from<strong>of</strong>fline to online we need to be (seeFigure 1).The more a mobile application is<strong>con</strong>nected, the thinner it can befrom an application logic and localstorage perspective. The less it’s<strong>con</strong>nected, the higher the demandon the application logic and localstorage. A typical online mobileapplication is a Web application targetedat smart device browsers likeInter<strong>net</strong> Explorer for Pocket PC.With a Web application there are nodeployment issues for the device, asthe browser is already in place.However, most other <strong>con</strong>nectivityoptions (from “auto-<strong>con</strong>nected” allthe way to “never <strong>con</strong>nected”)require you to have a custom applicationrunning on the device.The need for <strong>con</strong>nectivity alsoimplies that we’re most <strong>of</strong>ten talkingabout extending existing <strong>sys</strong>tems toanyplace. Many workers are currentlytied to a desk with a PC on awire. They would like to be free togo wherever they want, yet still beable to perform their duties. Is itasking too much to help those poorpeople out?Consider Some ExamplesLet’s take a simple scenario likereporting time. Many mobile workershave to specify how they spendtheir time during their work hours.This is a common task in an enterpriseenvironment, and many <strong>of</strong> usare familiar with the pain <strong>of</strong> “re-creating”the past week during theweekly reporting – late Sunday night– into our company’s central timereporting <strong>sys</strong>tem. Why? Because wehave to wait until we find a PC that’swired to the company <strong>net</strong>work.What if we could do it anyplace?And since we don’t need to do theactual reporting more than weekly,it would fall into the category “seldom<strong>con</strong>nected” (see Figure 1).What if we didn’t actually have to be<strong>con</strong>nected when we do it?Another issue is how we can helpthose workers get the new tools <strong>of</strong>the trade. What if we could use thesame knowledge that we alreadyhave in building our enterprisesolutions? In the not too distantfuture, most <strong>of</strong> those solutions usingMicros<strong>of</strong>t technology will be developedfor .NET, and therefore itwould be great if we could extend.NET and .NET development skillsto build those solutions for mobiledevices. As you may already know,you’ll soon be able to do just that.Build a Business CaseIn defining how we can benefitfrom turning paper-based processesinto mobile solutions, the keywordsare speed and quality.First <strong>of</strong> all, since time is money,we want to save time. By savingtime we can get an instant paybackon the investment in most mobilesolutions. We can save time for themobile worker, and most probablyalso for the back-<strong>of</strong>fice personnelwho now enter submitted paperdata into a <strong>sys</strong>tem. Perhaps mostimportantly, we could also save thetime between data entry and datausage. For example, if the timereported was submitted each dayinstead <strong>of</strong> each week, we couldexpedite invoices related to thattime.Se<strong>con</strong>d, we’ll collect the data at thesource, gaining speed in our businessand improving data quality. Writingdata on paper, then passing it tosomeone else to read and enter into a<strong>sys</strong>tem is probably the most certainway to achieve poor-quality data.Higher quality most <strong>of</strong>ten translates tosaved time, and also to improved relationshipswith customers, partners,and even employees.Preview Issue • dot<strong>net</strong>developers<strong>journal</strong>.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!