₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,024 members, 8,419,980 topics. Date: Thursday, 04 June 2026 at 08:43 AM

Toggle theme

Webstacka's Posts

Nairaland ForumWebstacka's ProfileWebstacka's Posts

1 2 (of 2 pages)

ProgrammingRe: I Need Help Guys. An It Firm In Aba Or Ph. by webstacka(op): 12:33pm On Jul 01, 2017
I promise to abide by your terms.

I find it hard staying at aba south LGA with this light issue. Gosh!
ProgrammingI Need Help Guys. An It Firm In Aba Or Ph. by webstacka(op): 12:32pm On Jul 01, 2017
I seriously need help with any IT Firm in Aba or PH. I need a place where I can charge my laptop and continue my programming. In return, i'll help in mentoring your students in web development (if there is) or help in any way I can. Just like internship. I don't want this passion to die because of PHCN. Please help.
ProgrammingRe: Programming In The South East by webstacka: 12:17pm On Jul 01, 2017
Please any programmer residing at Aba? Lets hook up and share ideas.
PoliticsRe: Biafra : Nigerian Ambassador To South Africa Visits Nnamdi Kanu (photos) by webstacka: 6:33pm On Jun 03, 2017
raker300:
Afonjas will storm here like...
Please my brother leave them alone. Let us face our issue and how to seccede from this nepotic contraption rather than shouting afonja! Afonjaa!! Biko nwannem.
CrimeRe: ‘’how NDDC Director Attempted To Bribe Me’’- Efcc’s Zonal Head by webstacka: 3:54pm On Jun 03, 2017
He did not attempt to bribe you...just that business no work btw una...
EducationRe: I Regret Bitterly Going To University. by webstacka: 2:02pm On Jun 03, 2017
nwaimostate5:
I.m not a failure and I can never be, i believe in myself​. l wrote this base on the situation of things in this country and that alone is making me weak. I have vision and I have started working towards achieving them. Dont think i.m always negative minded, I,m full of positive ok. thanks
guy there are opportunities for you. I wont say more but just know that there are many opportunities......
ProgrammingRe: Practical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 1:57pm On Jun 03, 2017
I was too busy....but because there are people following this thread, I pledge to complete this tutorial....though it may take time.
ProgrammingRe: Practical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 7:32pm On May 30, 2017
I will continue soon...
ProgrammingRe: Practical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 7:31pm On May 30, 2017
if it doesn't work you can initiate the network pipeline in your system (for Windows) by opening Windows command prompt (cmd) as an Administrator and type in:

netsh http add urlacl url=http://+:8081/ user=Everyone

Sure it will work now......
ProgrammingRe: Practical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 7:26pm On May 30, 2017
Now let's begin:

Nuget install Nancy
Nuget install Nancy.Hosting.Self;

Fire up SharpDevelop (or Visual Studio/Xamarin Studio) and start a console program. A project will be created for you Containing several files. But the files we are concerned about is the Program.cs under your Projects Window and type in the following:

using System;
using Nancy;
using Nancy.Hosting.Self;

public class Program
{
public static void Main(string[] args)
{
NancyHost host = new NancyHost(new Uri("http://127.0.0.1:8081/"));
host.Start();
Console.ReadKey(true);
host.Stop();
}
}


Now create another C# class by right-clicking on your project and select new item, and select new C# class, name it IndexModule.cs, and type this:

using System;
using Nancy;

public class IndexModule : NancyModule
{
public IndexModule()
{
Get[@"/"] = parameters =>{
const string name = "<h1>Hello World!</h1>";
return name;
};
}
}



Make sure you add Nancy.dll and Nancy.Hosting.Self.dll reference assemblies to your project. build it and run it you would see this:

ProgrammingRe: Practical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 6:08pm On May 30, 2017
First we will start with the Starting Up phase....

Introduction

Now, all our tutorials will be based on an IDE and a web server to run our files.

We will begin with the first tutorial; testing our our application with a web server.

Our first tutorial will be a Hello World! tutorial...

If you are the inpatient type, you can quickly start off by checking >>> http://microwebstack..com.ng/2017/05/introduction-to-nancy-fx-web.html
ProgrammingPractical C#/web Programming For Beginners ** Enter Here ** by webstacka(op): 5:59pm On May 30, 2017
Hello Nairalanders,

I am going to start a web programming tutorial with C#.NET programming and Nancy FX web framework. This practical tutorial is part of a series of tutorials I am developing at Udemy and also part of the things you will see in a in a book i'm writing called, "Web Development with NancyFX for the beginner".

Why do I Need this tutorial?

Okay, I'll explain why, first I assume most of the guys who are reading this tutorial are people who want to learn web design and programming skills. It is based on C#.NET Programming! Now, someone of you must have been learning python, php, and the rest, and might be wondering the relevance of this tutorial to you. Please, just stick around and grab one or two things in it. I care less which language you love, and which you've ditched; horses for courses, but If you want to move into the web design, UI/UX world, as well as, Javascript, JQuery, and AngularJS worlds, then you really need this tutorial for one or two things.

Who are you?

Well, I am a web development techie and a prospective Author. I have worked as Graphics Designer, Web Developer, and a sales boy. But not in that order. Presently, I work as a Computer Instructor (Web Development). I blog at http://www.microwebstack..com, and I'm about to launch my virtual company (www.facebook.com/GeetStack/)

** A bit of Marketing **
/*
* If you reside in Aba, and you want to learn web development with me. Contact me on:
*
* 08179370258
*
* Thanks.
*
*/

What will I learn?

As a part of the course outline, you will learn the following:
> Introduction - Starting up.

> Web Deisgn Core (HTML5 and CSS3)

> JavaScript Core and JQuery.

> Introduction to C#.NET Programming - covering methods, control statements, and elementary data types.

> Programming with Nancy FX Web Framework

> Database Programming in Nancy FX.

> Others like Authentication and Authorization, Sessions, and integration with AngularJS/ReactJS (Available in the book)

What? Is that not C#.NET? Anything C#.NET is not free....
I know....but I promise that we will not anything anything trial version. We will only use opensource tools. And let say this; NancyFX works cross-platform. It works on Windows with .NET 4 and above, and Linux or Mac OS X with Mono.

The tools we will use are:

1) .NET/Mono
2) An opensource IDE (SharpDevelop or Xamarin Studio) - (www.icsharpcode.net or www.monodevelop.com)
3) PostgreSQL - opensource Database engine.
4) Nuget - opensource package manager for .NET applications (www.nuget.org)
5) Nginx Web Server - FastCGI support (www.nginx.org/en/download.html)
6) Fos - use Nuget (download it by issuing Nuget install Fos
7) Nancy FX - using Nuget (download it by issuing Nuget install Nancy)
cool Web browser - Mozilla Firefox or Google Chrome

Any other tool we need will be added as we continue with the tutorial...

This is the cover of the book I am writing, I hope to complete it early:

1 2 (of 2 pages)