Editing Website and Viewing Orders [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
This'll be my second time doing a CMS and Inventory Management app for my client. This particular client wants it all to be online. Instead of a desktop app, like I did with my previous client. Which is fine I guess, however I'm a little concerned about the security stuff... What if it gets hacked? He basically wants to be able to manage, view, create new and edit existing orders via his website from an "Admin" type interface after he logs in as an Admin, so obviously I'm going to need Roles.
But is this common or normal practice? The website isn't an intranet, or hosted locally, it's remotely hosted.

Yes, its very normal all of my websites have admin interfaces that allow access to just about everything with the proper credentials.
A word of caution however: If you are not sure what you are doing, I'd be very careful about accepting/storing credit cards or other sensitive information(SSN's medical data etc) . Its easy to screw up, and if that stuff get hacked, you may have some serious legal problems to deal with. Consider hiring someone with the right experience to help with security.

Everything you listed is normal to a Web application, whether it's hosted locally or on an intranet, or hosted remotely.
What you need is probably already implemented in other online CMSs (see Orchard CMS), but if you want to roll your own CMS, it's very easy to use ASP.NET MVC; it also has easy integration with Forms Authentication for ASP.NET.

Related

Checking for unlimited internet access [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Some public wireless networks redirect you to a login page before giving you access to the internet. I want to test not only if the system has internet connection but also if it is unlimited, i.e. there is no redirect to such a login page.
I already checked the properties of HttpWebResponse to find something that could indicate this but found nothing.
How can I know that I'm not being redirected to a provider's login page?
This is intercepted by a proxy. You'll have no idea how "nice" it is, don't expect anything like a 302. So test it by visiting a known-good URL first, one whose response you can rely on. Not Google, something you maintain. If you don't get the expected response then you know that you've been redirected.
Another version of you can't do this:
You can test if you have access to whatever site you're testing as a reference. That doesn't prove you have unrestricted access, though. You might be behind a firewall that blocks out large swaths of the internet (for example, a corporate firewall blocking a bunch of places employees like to waste time but which have no job-related purpose.)
You might be behind the Great Firewall of China that will reset your connection if it doesn't like the domain you're accessing or if it sees words it doesn't like.
You might even be working through an evil ISP that replaces ads with it's own ads.
You cannot do this. As a trivial example, my service provider does not alter my connection or require any special login procedure, but if I use more than my allocated amount I will be charged for it.

Client Server Application for daily report system [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to make one application in C# or VB.net which allow users(Clients) to fill there daily reports using there user account and allow admin (Server) to manage theme (i.e. Add, View, Edit Reports).
I want to make that kind of application.
Vague questions get vague answers. A very basic (and slightly tongue-in-cheek) strategy:
Create a web-page for presenting an interface where the users can enter or upload their reports (maybe have a look at Asp.Net MVC?)
Create a simple back-end system (maybe a service of some kind, using for instance WCF?) to accept and store incoming reports, and retrieve and return existing reports. This should include a database of some kind for storing the reports.
Connect your web-page to the back-end system, and use the former as an interface to the latter.
Create one or several AD groups to provide authentication throughout these systems and grant users the appropriate levels of access.
Once you have got started on this and have tried something, you can ask more precise questions here, to which it will be easier to give more constructive answers.

Accessing SQL Server remotely and generate report [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Actually I am bit of confused right now and need some guidance. I have been offer a project to create web portal to generate report. Scenario is something like this,
Client has a business and he need to check the report of hourly sale. What should I do, should I put the SQL Server online or is there any other way to excess server database remotely. I have no experience in creating web portal, how should I start doing it.
Can anyone guide me in proper manner? I have experience in C#.NET using Visual Studio 2010.
Thanks.
This suggestion is without completely understanding your situation but...
There is an open source package called nopcommerce which has an inventory system, sales and other canned reports and a basic CMS built in.
It also includes all source code in C# and works with SQL Server.
It's generic enough to use for most retail scenarios and going this route will save you TONS of time trying to start from scratch.
I would think you could just download, install and customize and get 95% of everything you need from it.

C# .NET communicate between computers over network [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How should I go about making an application with C# and .NET where, say, on one computer a button is pressed that triggers an event on the other?
I saw this:
Recommended way to communicate between processes running on different computers on the same network
I've never heard of WCF, is that what I should try?
You're question is way to broad however I can give you a brief overview of how WCF (and most client/server apps) work.
You create a WCF service and then you reference the WCF service (in VS right click references then add service reference) inside your client application. The click in the client application will send a message to the WCF service that will deal with that message.
As mentioned the getting started guides are pretty decent. The WCF Test Client is a great debugging tool as well. If you open the Visual Studio command prompt and type wcftestclient, it will pop up.
Here are some articles that might be helpful:
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
http://msdn.microsoft.com/en-us/library/dd936243.aspx
http://msdn.microsoft.com/en-us/library/aa751792.aspx
http://blogs.msdn.com/b/tess/archive/2009/01/09/net-hang-my-application-hangs-after-i-called-my-wcf-service-a-couple-of-times.aspx
http://blogs.msdn.com/b/wenlong/archive/2009/07/26/wcf-4-higher-default-throttling-settings-for-wcf-services.aspx
http://merill.net/2008/10/wcf-performance-optimization-tips/
Yes, I would use WCF, because I know it's pretty easy to get a simple project running with WCF, and that will give you confidence to build on it. (Having said that, I dont have much experience with any other networking technologies.)
Start with this Getting Started tutorial.
Then if you have more specific questions, ask them.

using RFID reader in a asp site [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have create a web site and I need to read data which is created by rfid reader.
this device has some dll which can be use in windows application.
I want to know that is there any way to use those dll in my site in order that I read data from RFID reader? if not is there any way to use that device in web site?
Reading dll's on a clients machine is seen as big security risk and there is not really allowed. It is possible to use ActiveX controls (basically dll's compiled into cab files) which the user can then enable and download, this then will allow you to talk to the ActiveX control which talks to the dll's, which talks to the RFID.
I would rather suggest you use something like Silverlight with out of browser mode, which you can run on the client machine with elevated privilages, then you can talk to com object.
A much better way to go.
ASP.NET application is Server side application with specific security restrictions applied.
So basically, as the question is very generic so my answer too: you can do it, it's enough to be sure that your architecture fits yuor ASP.NET security/permission requirements.
Cause I immagine DLL is kind of COM component where you push signals and read alphanumeric characters specifying your RFID (passive or active) identifier.
Regards.

Categories