Posts

Showing posts from 2015

SQL Server 2012 : Working with FileTables

Image
Hi Guys, I had a requirement to store files in the database. But had an issue with storage as the files were growing, so my project leader asked me to come up with a solution. Then I found about FileStream and FileTables. So thought of sharing my experience. 1) Enable FileStream in your instance Go to Configuration Manager, select the instance -> Properties -> FileStream Tab 2) Enable FileStream on your Server Go to SQL Server Management Studio, select server -> Properties -> Advanced ->FileStream -> FileStream Access Level -> Full Access Enabled  3) Create Database with FileStream CREATE DATABASE Archive  ON PRIMARY ( NAME = Arch1,     FILENAME = 'd:\FileStorage\archdat1.mdf'), FILEGROUP FileStreamGroup1 CONTAINS FILESTREAM( NAME = Arch3,     FILENAME = 'd:\FileStorage\filestream1') LOG ON  ( NAME = Archlog1,     FILENAME = 'd:\FileStorage\archlog1.ldf') GO 4) Specify File...

iCreativator Lite App using Angular, Ionic, glfx.js

Image
Hi Guys, This time I made very lightweight Image Editor App, which allows users to select an existing image and add some effects on it. In the future I will enable it to be saved to the device. Hope you like it. High Contrast Effect High Brightness Effect High Hue Effect Sepia Effect High Saturation Effect Denoise Effect Lens Blur Effect Ink Effect

MyFinance App using Iconic, Apache Cordova, Microsoft Azure Mobile Services

Image
Hi Guys, I am having some fun with Aprache Cordova in Vs 2015. just wanted to show you guys a glimpse of what I am doing right now. 

Hybrid Apps in VS 2015 using AngularJS, Angular Material, Web Api

Image
Hi Guys, Finally VS 2015 is out there. And It supports multi platform mobile application development in two ways, 1) Hybrid Apps (Javascript,Typescript, Apache Cordova) 2) Native Apps (C#,Xamarin) Since I am a fan of javascript frameworks (AngularJs). I thought of doing my tasks project using Hybrid Apps. Hope you like it. Since I have reused the same AngularJS Application I created before I am not going to publish the code again. For my previous posts regarding my tasks  Click Here .

Progress Notification for Long Running Methods using WCF Duplex Binding, SignalR

Image
Hi Guys, This time I made a WCF Duplex Service which notifies the progress to the client using SingalR. Hope you like it. Windows Client 1) ServiceClient.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ServiceClient.aspx.cs" Inherits="Htm5Notifications.ServiceClient" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <script src="../Scripts/jquery-1.6.4.js"></script>         <script src="../Scripts/jquery.signalR-2.2.0.js"></script>     <script src="http://localhost:51255/signalr/hubs/" type="text/javascript"></script>     <script src="Message.js"></script>     <link href="../Styles/bootstrap.min.css" rel="stylesheet" /> </head> <body>     ...

Multiple File Uploading using Javascript and Web API

Image
Hi Guys, I had a requirement to make way to upload multiple files using basic htmls. So I used javascript to achieve this. Hope you like it. 1) MultiFileUpload.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MulitpleFileUpload.aspx.cs" Inherits="MulitpleFileUpload" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title> </head>      <script>          function addRow() {              var table = document.getElementById('myTable');              var row = table.insertRow(0);              var cell1 = row.insertCell(0);              var cell2 = row.insertCell(1);              var cell3 = row.insertCell(2);       ...