Posts

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);       ...

Organization Re-Structure Control : Add Sub Nodes using JQuery Modal

Image
Hi Guys, This is a continuation of my previous post .My colleague requested me to allow the user to add new sub nodes. I used JQuery Modal to allow the user to add a new node. Hope you like it. 1) OrganizationOrderControl.cs using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.UI; using System.Runtime.Serialization.Json; using System.Runtime.Serialization; using System.Web.UI.WebControls; using System.IO; using System.Text; /// <summary> /// Summary description for OrganizationOrderControl /// </summary> public class OrganizationOrderControl<T> : Control {     private List<TreeNode> Nodes { get; set; }     public OrganizationOrderControl()     { }     public List<T> Items     {         get         {             if (...