background preloader

Hardcore Developer Training

Hardcore Developer Training

How to: Host and Run a Basic Windows Communication Foundation Service This topic describes how to run a basic Windows Communication Foundation (WCF) service. This procedure consists of the following steps: Create a base address for the service. Create a service host for the service. A complete listing of the code written in this task is provided in the example following the procedure. To configure a base address for the service To host the service To verify the service is working Run the service.exe from inside Visual Studio. Example The following example includes the service contract and implementation from previous steps in the tutorial and hosts the service in a console application. Be sure to reference System.ServiceModel.dll when compiling the code. See Also

Writing effective Use Cases and User Story Examples LearnVisualStudio.NET SQL Pulse Blog - The heartbeat of SQL Server – Chat Application using Web services in C# Download EasyTalk.zip - 1.67 MB Introduction All of us are more or less using many of the chat applications available in the market everyday but still sometimes wonder of how it has been developed. This is a simple private chat application developed in DotNet using a web service. The application (EasyTalk, I named it) targets mainly the beginners who still sometimes fear of using the web service. Background The chat client is developed just like any other chat application using Windows form and the chat service is developed using the Dot Net web service residing in the web server. Zip File Contents The above attached zip file contains the following projects: 1. 2. 3. 4. Using the code ChatService.asmx (Web Service) The ChatService.asmx in the zip file represents the name of the web service in which you will see lot of web methods that will be called by the clients using the application. Remember these methods are always 'public', otherwise they won't be available for the outside world. 1. 2. 3.

Best JavaScript MVC Frameworks 2013-2014 - JonathanMH JavaScript MVC Frameworks are a big topic nowadays that we use JS to bind data, send it back and forth between server and client and actually implement lots of logic, so we want to structure our code after the MVC or similar patterns, decoupling the logic or data handling from the views. In this article I want to share what frameworks I’ve tried out and which ones I find interesting. Why JavaScript MVC Framworks? I do Web Development, I’ve started building things with node.js on the backend, so obviously I have a strong tendency towards environments where JavaScript is available. Secondly, JavaScript runs in the browser, mobile and desktop plus through PhoneGap/Cordova you can use it to create cross platform mobile apps. Which JavaScript MVC Frameworks? Now let’s finally look at the list I’ve compiled, which includes a short introduction, my experience with them, if there is any, further reading and a list about their dependencies, license and their examples at TodoMVC.com. Dependencies

Visual C# Tutorials and Lessons (Learn C#) 40 websites that will make you cleverer right now The indexed web contains an incredible 14 billion pages. But only a tiny fraction help you improve your brain power. Here are 40 of the best. whizzpast.com – Learn about our awe inspiring past all in one wonderful place. khanacademy.org – Watch thousands of micro-lectures on topics ranging from history and medicine to chemistry and computer science. freerice.com – Help end world hunger by correctly answering multiple-choice quizzes on a wide variety of subjects. artofmanliness.com – Blog/site dedicated to all things manly, great for learning life skills and good insights. unplugthetv.com – Randomly selects an educational video for you to watch. coursera.org – An educational site that works with universities to get their courses on the Internet, free for you to use. mentalfloss.com – Interesting articles guaranteed to make you smile and get you thinking. feelgoodwardrobe.com – Find out how the world of fashion really works and what you can do to combat it. lifehacker.com – Learn to hack life!

Working with Events/Callbacks in WCF — a simplified beginner example. | Simple .Net Solutions In this example below, when the Service receives an Event, it sends notifications to only those subscribers who are interested in that particular event. Long ago, I had worked on a Windows Service which would poll a certain folder at a predetermined interval, and if it found a excel/csv file, read that file , update DB & finally delete that file from that path. My initial thought was, how WCF can replace or improve that whole process which currently Windows Service was doing. Finally, I ended up with this imaginary scenario, to help understand events/callbacks in WCF.This example below has 3 major players. The WCF Service, A Windows Form application acting as the Event generator and another Windows application working as client. //The WCF Service code //The Client //The Event Generator Hope this helps. Like this: Like Loading...

10 Videos every web developer should watch Learning how to become a web developer takes time. There is a tremendous amount of information that you need to understand before you can call yourself a web developer. Luckily there is no shortage of freely available information on the internet. I have collected a few videos that I think every web developer should watch at least once. Javascript Every web developer should know Javascript back to front. Performance Ilya Grigorik breaks down what it takes to build a mobile site that breaks the 1000ms time to glass barrier. Tooling In recent years a whole host of tools geared at making front end developers more productive have hit the market. Design People have come to expect exceptional quality in both visual and interaction design. Happy coding! Follow Stephen on Google Plus or www.aestheticio.com where he writes on all the skills you need to become a web developer. Daily headlines from BandwidthBlog straight to your inbox.

Drag-and-Drop Attached File From Outlook (97 and above) to C# Window Form Download source - 7.04 Kb Introduction Recently, I decided to write a quick program that would allow me to drag-and-drop an attached zip file from an e-mail message to a C# Windows Form program so that I could extract specific types of files to be printed. Little did I know that I would be stepping into a relatively unknown area of drag-and-drop technology, especially it appears as it relates to e-mail attachments. The purpose of this article is to provide a simple example of how to drag-and-drop e-mail attachments from Outlook to a C# Windows Form program. Background I teach computer programming (C++ mainly) at a local college. The issue became the amount of manual work required to extract the "solution" sets for potentially each homework problem, open a solution, print each of the source files, open the next solution, etc. Little did I realize that I was about to step into quicksand. And now we start the trip ..... Using the code Step 1: Create a C# Windows. Voila! History

Related: