Action Center is a new feature of Windows 10. It’s a collapsible panel on the right of the monitor where the software can notify his user about his status. It works exactly same as the notification of apps in smartphone. User can click on the notification to go directly to the apps. In this blog spot I will make a short demo showing how we can display a notification in Action Center. The demo contains a very simple email client working with IMAP server and notifies the user how many unread emails there are in his inbox. This email client works as an universal app.
Years ago I wrote a small post about C# – OCR library candidates for comparing between OCR libraries of Tesseract and Microsoft Office Document Imaging. Tesseract is an open source OCR framework. Unfortunately, its inaccuracy is still high and can’t be used in commercial products. Last week I would like to make a small OCR web service for training myself and to test Tesseract again. The result is still as bad as last time (I guess FineReader of Abby may be the best OCR SDK but I have no full version for testing). Although Tesseract is not able to recognize complex documents, I also used it for this example because there is no other better candidate. The sample OCR web service works pretty simply, he receives a file which is uploaded from the client, runs OCR and returns text back. No big deal.
We got to know with Google, Flickr and Twitter API service in some of my previous posts. All these provide us an authentication scheme so that we can authenticate ourselves and get permissions to 3rd party resources. We have also created our own REST web services by using ASP.NET Web API for publishing data to our clients. However, until now, our web services are all simply public to everyone. Everyone can use them, even our competitors (if there’s any) 🙂 That’s not good and I also received questions if a web service can be protected by using authentication. So in this post I would like to make an introduction about new technology of Microsoft : The ASP.NET Identity. We’ll build a very simple REST web service with ASP.NET Web API and ASP.NET Identity from Visual Studio template and try to access it from a .NET client.
The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems. It includes profile support, OAuth integration, works with OWIN, and is included with the ASP.NET templates shipped with Visual Studio 2013.
Last month I’ve a chance to develop an app using Sqlite and Entity Framework Code First. Before I started with this project, I thought everything will be easy because Sqlite and Entity Framework are both popular framework. Maybe I just need to install some nuget packages and it will work like a charm. But… yes, there is always a ‘but’ later, it’s just not so easy. Especially when I usually work with NHibernate than Entity Framework. The installation doesn’t complete his job when configuring the .config file (or maybe it just happens for me or does the author do it with intentionally?) and the Migration for Sqlite Entity Framework Code First is not supported (please correct me if I’m wrong). There are, of course, commercial products for Sqlite Migration but I prefer an open source framework or something free :). So in this post I would like to write down the steps required when starting a project for Sqlite Entity Framework Code First and how I make my own simple Migration engine.
Lotus Notes and Lotus Domino are the client and server of a collaborative client-server software platform from IBM. The ecosystem provides business collaboration functionality, including email, calendars, to do lists, contacts management, discussion forums, file sharing, instant messaging, blogs, and user directories. Like other business applications, Lotus system conducts a database system behind to manage all data objects for sharing data between internal applications. To make the system itself more friendly to 3rd applications, Lotus also provides a driver – Lotus NotesSQL – so that 3rd applications can query data from Domino server. With Lotus NotesSQL, users and application developers can integrate Domino data with their applications through ODBC. IT professionals can enable their existing ODBC-enabled applications to access data stored in a Domino database. It allows ODBC-enabled data reporting tools, database tools, and application development tools to read, report, and update information that is stored in Domino databases (NSF files).
A “big” project comes from a small requirement. That always happens in programming. What I really need is just the thumbnails of MS Office 2007/2010 files, but there is no reasonable way so that I can get them without having to install MS Office (or another 3rd party components) on server. The thumbnails are only generated and stored with Office files only if users set the option “Save thumbnail” intentionally. If they don’t set this option, I have no way to get thumbnail because it’s not available. Many suggestions are made on Internet such as using Open Office, using Share Point Word Automation Service, converting to PDF then getting thumbnail or using a 3rd party component…
The requirement to read a XML file to Crystal Report is very common but how can we read a generated XML file by Crystal Report back to object class and why do we have to do that? Let’s consider this case, a company has SAP products and uses Crystal Report to create reports from databases of those products. Now he would like to export data from this SAP system to 3rd party product but this product has no idea about the database structure of SAP. He orders us to write a small program to do that. The question is what should we do now to keep process simple as it should be?
How we provide our customers the way to display their data is a important feature of every software for data management. Maybe the users want to use Bar, Line, Pie, Pyramid chart… someone wants to display as 2D and the other wants 3D for his plotting. The financial prefer Kagi, Renko, Point and Figure chart… meanwhile the statisticians maybe use Bar and Column, Cylinder or just simple Line chart. Because of these numerously different requirements we need a stable chart library flexible for customizing and extending. We can make ourselves one or there are a lot of candidates out there in internet such as ZedGraph, Telerik component, DevExpress component… But my favor is Microsoft Chart included in .Net Framework. The components of Telerik, for example, are beautiful with their animations (in WPF) and have a lot of advance features. However the structure of this framework is not stable with breaking changes with new released versions. The Microsoft Chart provides us all simple features necessary for data representing and is very stable. We can use it on Windows Forms or WPF or even on ASP.NET website.