المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : WebMatrix-Following



C# Programming
02-17-2013, 06:00 PM
Hi,

I am new to C#, but have 20 years experience in CPP/MFC.I use Visual Studio Express for Web developers 2012 I started a Starter App to give a basic website. The Logging In procedure provided as default is already unsuitable. The website is intended to manage a User/Dealer network. Only Dealers can appoint Sub Dealers, or register customers. Self Registration isimpossible. Dealers and Customers can have multiples of Users(Which are Persons with aname, Passwords and Roles, etc.),Customers are in principle organisations in this model, which requires humans to run it. No Customer or User is required to declare any email address. Dealers are different. I know How to write code that implements this. The question is how to integrate this with webmatrix.

Later on I will have to produce 'User Licence Files' These are files I produced using a fairly basic encryption system. (XOR with a known block, and transpose).It has worked quite well, and there is a substantial code base out in the world that depends on this licence format.
In MFC I stored all this in a C Structure (packed to byte alignment). Do the C# and C++ structures align. Do allignment pragma's exist in C#, How does C# allign DWORDS.(Big End, Little End, or Machine Dependent)

Thanks

http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

Bram
Bram van Kampen