|
ViewState is base64 encoding. SSL is encrypting the channel communications.
|
|
|
|
|
Keep in mind that viewstate also slows down the transmission time and increases the bandwidth usage because it makes your page larger. .NET holds the viewstate information in a hidden form field so the text for that data is sent on each page request. Because of this, the user could try to modify the viewstate and send it back - so keep sensitive data in the session or in some data store on the server.
|
|
|
|
|
Is there a security threat to ASPNET session id cookie for session hijacking even when SSL is used? Please advise. Also, same question for Forms Authentication Cookie.
Thanks,
Sam
|
|
|
|
|
Hi, im looking for a deployement strategie.
I've been looking into a few techniques, Windows installer and click once installer.
Both are nice but they bot have their downsides. The best technique would be one equal to suns JAVA runtime files (Just a webpage with a download and installation bar)
Requirements for the installation:
The application is based on the .NET framework 2.0;
The .NET framework 2 must be installed whenever the framework is missing.
A solution for installing under limited rights would be wonderfull!
An easy to edit configuration file of the setup project would be nice because there will be multiple instance of a single application ( This aint required or what )
I Hope i'm posting this in the right section,
Thanks already!
- Koen
|
|
|
|
|
Hello,
I'm designing an application that simulates a university application and courses system.
I'm looking for a design pattern for this case:
I have a base class Course, and 3 deriving classes for 3 type of courses.
each course should have a list of pre-courses that need to be taken in order to take the course. The pre courses can be any of the 3 types of courses.
I thought of using the graphic-shape-picture design pattern, but it's not the very same case.
Will appreciate any idea!
Thank You
Orlya
|
|
|
|
|
Maybe the "Course" class has a collection of Course class references or Course class unique id's.
led mike
|
|
|
|
|
Hi,
Any suggestions on how I can build an client/server architecture which has a browser-based RIA (Rich Internet Application using flex, .NET 3.0 or other) client and a server architecture that can run either on a web server (SOAP/Web services), or as an ordinary TCPIP-based application server. The option for deployment will be given the user at install time.
I understand that I need to write communication services for both options, but what is the optimal choice of technology/method?
The goal is to give the option to install the application on a standalone PC without IIS or any other web server installed, but still let the user interface be browser based.
Jay
|
|
|
|
|
|
Thanks. However, don't focus on the RIA part of my question. That is only to show that I want a "modern" browser-based UI experience. It is the dual-protocol communication strategy which is the interesting part to me. I want to have a web/internet application (default) to be able to run on a standalone computer environment which hasn't got a webserver installed.
Jay
|
|
|
|
|
We are having some communictions problems. You want an internet application without the internet?
If you want to use a Web Browser interface for your UI in a desktop application you can use the WebBrowser control.
At this point I have no idea what you are trying to accomplish.
led mike
|
|
|
|
|
Jay
You need to be a little more clear on what you mean by web server and ordinary based TCPIP-based application server.
By web server I am assuming you literally mean a web server as in Apache or IIS. And TCPIP-based application serevr, I assume you mean Tomcat, Websphere, etc. Right?
I am currently creating an RIA using flex with a .NET backend.
dan
|
|
|
|
|
Hi Dan,
Yes, you are right with the first one: I mean web server as in Apache, IIS etc. The second one I simply mean a server application that can render the RIA client without running on a web server.
I will try to explain be telling you about the scenarios I see:
Scenario 1 (main): The user downloads the application and deploys it on a webserver, so that the application is available for all users on the intranet (through the RIA client)
Scenario 2: The user which will be one that decides that the application should be downloaded and tested on the company's own data before purchase, should be able to deploy it on his own computer/laptop as a standalone application with a database connection to the company's own production/test databases. This computer/laptop will normally not have any webserver locally installed and we cannot expect that the user will be interested or have the skills/patience to install the local IIS (or other Web server) before he can test the application. Therefore the application must be able to be deployed as a "standalone" configuration without a webserver to render the client.
I hope this clarified my requirements.
In the meanwhile I have found a class in .NET 2.0 (HttpListener) which can implement a web application without a web server.
I appreciate more comments and ideas.
Jay
|
|
|
|
|
i'm making an application in vb.net
i made the database and i need to go to the classes...
amy documentation can help me ?????
while i'm trying i faced a problem with foreing keys
ex :
table house (id,name,address)
table room (id,name,housid)
so i pass to class by wich way :
---------------------------------------------
1-
class house
- id as integer
- name as strind
- address as string
class room
-id as integer
-name as string
-hous as house
-----------------------------------------------
2-
class house
- id as integer
- name as strind
- address as string
- rooms () as room
class room
-id as integer
-name as string
-----------------------------------------------
3-
class house
- id as integer
- name as strind
- address as string
- rooms () as room
class room
-id as integer
-name as string
-hous as house
wich choice ...
if there are an alogrithm to make the pass from db to oo so can u help me ???
|
|
|
|
|
I go for #3.
from DB to OO, check http://www.mygenerationsoftware.com. My Number 1 choice.
|
|
|
|
|
opps
this is an application ...
i need to know the algos ....
if there are a documentation or something like that ...
thanks a lot
|
|
|
|
|
What you describe is a tree. Depending on the direction you want to go in the tree you should choose 2 or 3: 2 if you go from the root to leafs (you have the house and you want the rooms) or both ways (previous + you know the room and want to find the house it belongs). Choise 3 is more complete and memory used to keep the pointer to house is small 4B.
Usualy I do like this: a row in a table contains all the members of a class - each row = object; procedures that insert/update/delete in the database are methods of the class, each method calling corresponding stored procedure. Columns (members of classes) are accessed (read/write) through properties or functions offering a good consistency check even from the input of data.
|
|
|
|
|
Hi,
I´m developing a .NET 2.0 library (dll) which basically is a stamp clock that logs working time and prints job specifications. The application separates UI from logic by a library design approach. I plan to implement both a Windows Form UI and a AJAX UI on the library.
The question: What is a good design regarding how to store the logged time entries/data? Shall I store the data in a mdf database or XML files or make an interface an let the application that make use of the library (UI) implement the database interface to enable custom database usage (by doing this every implementation a database setup has to be carried out = bad)?
I know this depends on the purpose and usage. Is the mdf approach a good way to store data in both a webapplication and a desktop app? I find this a bit confusing. ^_^
Thanx in advance
regards
/Christoffer
|
|
|
|
|
http://en.wikipedia.org/wiki/Model-view-controller[^]
Model
The domain-specific representation of the information on which the application operates. The model is another name for the domain layer. Domain logic adds meaning to raw data (e.g., calculating if today is the user's birthday, or the totals, taxes and shipping charges for shopping cart items).
Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not specifically mention the data access layer because it is understood to be underneath or encapsulated by the Model.
led mike
|
|
|
|
|
Hi all,
i want to study internals of fat file system.
so for that purpose which book i should use as an reference book.
just what
"The design of unix operating system (Maurice J Bach)"
does to understand the unix file sysetm.
Is there any such book by which i would be able to understand the fat file system.
If anyone know's please tell me.
i want to create a file system driver for fat fs.
Thanks and regards
Harshal shete
|
|
|
|
|
There was a book which presented a DOS compatible operating system, but I think it's out of print. However, you could look here[^] where you can download a copy of the FAT32 specification from Microsoft.
Steve S
Developer for hire
|
|
|
|
|
I'm working on a VB application that may resemble MS Money. You have a toolbar at the top and a spine on the left that have specific tasks that may be performed for each main function. For example, on the toolbar there is a "Customers" button. Once clicked, the spine on the left will have "customer" specific tasks (i.e., Add New, Select, Reports, Open Issues, etc.... To the right will be the results of whatever task they select from the spine. Since any of these tasks may involve several pages or forms, I thought about using groupboxes or panes for each of the task; however the maintenance of all those controls could be overwhelming.
So I guess my questions is, if you think of how MS Money functions, what is the best approach for designing a rich client application? Possibly using customer controls for each function? Would I group them all in one main "Customer" control??
Any help (VB) would be appreciated.
Bob
|
|
|
|
|
Bob,
Assuming your using VB.NET 2005.
There are tons of techniques. Using a MDI approach would be easy also. You could define a single class for controlling which one is currently visible.
Another approach, is to use multiple Panels on the same form. Hiding each one but the current one.
You can optionally use a Tab control, only showing a single tab at a time.
Of course, I'm not clear on how MS Money does it. But there are also docking controls like the split panel control.
If you are not using VB.NET 2005, instead you are using VB6. Then you'll have to do a little bit more coding, and some of the controls listed are not available in VB6.
In VB6, you can use multiple Panel controls. Set the Left Property of the ones you want to hide to -10000. This moves it completely off the form. You can swap them in and out by setting their corresponding Left property to the setting that makes them visible.
Although, I've created some fairly complex applications in VB6. I've been using VB.NET for quite sometime now.
Hope this helps!
~ CodeDoctor ~
|
|
|
|
|
hai,
i want to develope asp.net web project.any tools to design the project specs,Preparing DSD.
Thanks and regards,
surendra
|
|
|
|
|
I'm considering embarking on my first C# adventure by way of creating an inventory system for the electrical power industry. I spent much of tonight trying to lay out an object heirarchy and only ended up confusing myself.
The top level class, InventoryItem, is a no-brainer. The next level is almost as simple - Overhead, Underground, Substation, Multi-use. Then it starts to get complicated. For example, a simple disconnect comes in multiple flavors - solid blade or fused, 15kV or 25kV, 200A or 600A, load-breaking or non-load-breaking, ganged or single-phase, 1-, 2, or 3-pole. That I can deal with by creating subclasses. But each type is made by multiple manufacturers, and sold by multiple vendors, each with its own pricing. No one vendor sells all products from a single manufacturer, and no manufacturer sells all products through one vendor. Each vendor's pricing is different, even for the same item from the same manufacturer, and prices change weekly. To make matters more interesting, several manufacturers make the same item, interchangeable at will, and we stock equivalent parts from multiple manufacturers and vendors as one SKU.
The goal here is to keep track of inventory items at the vendor/manufacturer level, but accumulate costs at the SKU level to be used for estimating future jobs.
Can someone among you geniuses suggest a logical class heirachy for this mess? I think the coding will be fairly straightforward, but the difference between a raging success and a dismal failure lies in getting the structure right from the get-go. Thanks, in advance, if you have a useful suggestion.
"...a photo album is like Life, but flat and stuck to pages." - Shog9
|
|
|
|
|
Why are you hard-coding the items? Wouldn't it be better to create a database?
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|