How To Get A Quick Start With Latest NHibernate Technologies
Sep 9, 2010
I worked on NHibernate around 4 years ago, now in one of the project I want to implement it again. Can someone share their experiance about latest tools available to speedup the development of NHibernate.I have used a tool to generate ORM Mapping (I think its name was Puzzle.Net)
View 4 Replies
Similar Messages:
Sep 14, 2010
am looking for the best approach to using NHibernate and MVC.net. I have gone through http://www.codeproject.com/KB/architecture/NHibernateArchitecture.aspxSomeone has pointed to the use of Castle project Active record. My aim is to eliminate the need for any nhibernate dependencies within my domain. I want a quick and easy domain model that is persistable with NHibernate.
View 2 Replies
Mar 11, 2010
I am about to start a new application and am excited about using asp.net mvc and nhibernate. However, the big "problem" is how I handle the user authentication stuff. What are some ways those used to using nhibernate and MVC solve this problem?
My thought is let asp.net do its own thing and I do my own thing database wise. Am curios if I should role my own using the provider model and nhibernate, if I can figure out how. Or is there a way to integrate current code that is in the mvc example into nhibernate?
View 3 Replies
Oct 28, 2010
What is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD.
Approaches I can think of (and their disadvantages):
1. Start exe file with System.Diagnostics.Process.Start with another account. This feature is disabled in IIS 7.x, how do I allow it?
2. Create a sheduled task and call scheduled task-api. This unmanaged dll is giving VS compiler warnings because it's unsafe to call from managed code.
3. I suppose there's a better approach, because the previous suggestions doesn't appear safe or robust.
View 2 Replies
May 27, 2010
Is it possible for us to integrate the junit test cases for an application for which we are developing using the ASP.Net Platform?Since I am from Java j2ee Tech background, have a very less knowledge on .Net Technology
View 1 Replies
Feb 25, 2010
Advatages of .net compare than other technologies
View 5 Replies
May 15, 2010
I often come across some nice web sites and I want to know what technologies (PHP, JSP, ASP.NET, etc) are used to build those web sites.The web address of some web sites end with ".aspx", ".php", ".jsp", etc. But some web address do not contains any indicators.Is there any systematic way we can use to know the technologies used by a web site?
View 4 Replies
Apr 4, 2011
My background is asp.net development and I took part in several projects where developer team was free to choose server-side programming technology (PHP, ASP.NET[Web Forms/MVC], JSP) & free to buy any CMS. Looking backward I realize technology & approach we chose often wasn't the best one. I'll enumerate some projects: One web portal (ASP.NET Web Forms) - Originally It was .Net Nuke every developer knew nothing about & was snobbish enough to learn. Previous team modified Nuke engine the way it couldn't be upgraded (they added rows and relations to standard tables). So we rewrote it from the scratch. Big mistake. We spent a year to achieve previous functionality. Business felt trapped - they could not fire us and could not stand us. Another web portal (ASP.NET Web Forms) - Portal was very specific (trading) so we start developing from the scratch. Everything was fine half a year but as project grew business wanted to see more and more basic functionality (forums, blogs). May be we should wrote lots of modules for standard cms instead of developing from scratch. One specific 5-paged site with massive reporting - ASP.NET MVC and it was ok. Several small specific questionnaires - ASP.NET MVC and it was ok also. There were projects where I had to support legacy web systems and there was no choice. I feel (and it's very subjective) that server-side technologies niches are the following (when you have a choice what to choose):
Standard company sites & blogs/forums/communities (the most part of all web development) - is PHP CMS area (Wordpress, Joomla, Drupal e.t.c.). If team has asp.net background they should choose asp.net CMS (Nuke, Sharepoint) Small / Specific sites - PHP/ASP.NET niche (but if it can grow choose CMS from the very beginning) Intranet company ecosystems - ASP.NET mostly (CMS or not) I know every task can be accomplished with technologies you are most familiar with, but what do you think of nowadays niches? Shall developers use CMS for every site larger than 3 pages as every site functionality tends to grow and there are lots of modules written for us? Even if site looks too specific it's better to write modules for well-known CMS than to write sites from scratch. What is JSP niche?
View 1 Replies
Dec 26, 2010
I want to know if there are other web development technologies which have something like ViewState of ASP.NET
View 1 Replies
Sep 25, 2010
We're planning to build a web application that needs to be highly secure because a lot of money and reputation is at risk. Therefore I'm looking for tools and technologies that in that endeavor. The tools and technologies should prevent things like SQL injection, cross-site scripting vulnerabilities, remote code execution etc.
Our team has a solid knowledge about such vulnerabilities. But every developer makes mistakes, and a simple mistake shouldn't lead to a security vulnerability. They should be prevented or detected by web application framework, application server, programming language, security library, code analyzer etc.
A simple example: If you insert data into HTML, it needs to be escaped so it's properly displayed and not misused for injecting scripts. Some web application frameworks put this burden on the developers. If they forget the escaping in one place, they've got a security problem. A good tool wouldn't just do the escaping automatically, it would even prevent the developers from doing it forcefully.
I'm not looking for recommendations regarding the firewall (we have a good one), hardening the operating system (that's part of the plan), use of encrypted communication (it will be the only option) and secure authentication (a hardware token will be used). Rather, the recommendations should center around the application server and the web application software to be built.
We also fully understand that writing secure software is more than just technology: It involves knowledgable people, management attention, time and money and software quality processes. So far, this is not the problem and not the focus of this question.
I should mention that we have a certain bias towards Java and .NET.
So what tools and technologies or combinations thereof can you recommend us?
View 5 Replies
Feb 4, 2010
I'm doing a contract for asp.net. The owner wants it done in 2 - 3 months.Would it be worth it starting him in MVC and could I get it completed in time? It's a web page with a few modal popup extenders and about 3 grids.Is it possible to get it done with the boss very happy or should I write old web forms, and just write it clearly so it can be upgraded later?I can't miss a deadline and even though I love MVC, I kinda think I should wait until the first project is done cleanly. I haven't made an actual ASP.NET MVC app yet.
View 6 Replies
Jan 12, 2011
I am having a scenario, where i need to decode ASP.NET FormsAuthentication Cookie in other language to accomplish Single Sign-On.
I am having a ASP.NET website, that also has WCF Authentication service. But I have just come know that even Java and PHP Application are also going to use my Authentication Gateway to authenticate user and so enable Single Sing-On.
I am done with the same in .NET application but to perform same in non-.NET techs, I need to decode FormsAuthentication Cookie of browser. FormsAuthentication Cookie are Encrypted so there must exist a algorithm that can decode it or a kind of dll that I can load in Java and read it.
View 1 Replies
Mar 1, 2011
Does anyone know how to convert backend data to a json response using .NET technologies? It'd be nice to have this and use jquery to call some information on the backend.
View 1 Replies
Jan 26, 2011
I am trying to register the route collection in .net based on each session. The code I have works fine, you goto website/username and it loads the correct sub pages, but you have to restart the application to goto website/username2 to load those sub pages. But when the application is restarted the second one works, but then not the first one. Is there some way to create a different route collection per session not per application using system.web.routing.
View 3 Replies
Jun 21, 2010
This is a question for who works with both PHP and ASP.NET/C#/VB.I plan on learning both languages over time, but I am curious in the order you learned both technologies? And Why?Maybe you just chose by time/ease to become good in the language or you just prefer one language over the other.I want to learn both technologies so, if for some reason my projects don't workout, I have a backup plan as a web developer for clients. I would really like to service both sides of the isle, Windows and LAMP
View 10 Replies
Aug 2, 2010
I have a listbox on my site that is populated with data. I then have a textbox that is used to enter a search phrase and with each letter that is added the listbox is narrowed down or repopulated using javascript. I use one listbox to store all the items and a secondary showing the listing results. This makes it east to check against all items and then populate the second listbox with all the results according to the search.
Currently this process can cause a delay in updating the listbox (eg when the textbox is emptied all the items need to be repopulated from the listbox with all the data).
What is a quick and efficient way to perform this listbox search?
View 3 Replies
Aug 26, 2010
I have been using asp.net programming just from few months and I have to maintain an application that is made up of many aspx webforms with updatepanels.One of the task of the maintenance is to integrate some of the JQueryUI widgets (mostly datepicker, tabs and buttons).I am experiencing some problems on doing this smoothly expecially when the controls are Inside an update panel Generally inside any templated control (e.g. Wizard control)
For example this very simple code:
<script type="text/javascript">
$(document).ready(function() {
$("#myTabs").tabs();
[code]...
will immediately cease to work if placed inside an update panel.Do there is a solution regarding this issue or I have to follow a completely differnt approach? Do I have to substitute all the updatepanels?And what is the best alternative to this easy to use control?
View 2 Replies
Mar 2, 2011
how to create a Quick Menu in buttom of the page?
View 7 Replies
Nov 17, 2010
I want to find whether an uploaded mov file is a video or not through asp.net(c#) code. This is to prevent uploads after changing the extension to .mov.
View 1 Replies
Mar 5, 2010
I have an asp.net app consisting of about 15 aspx pages and 30 or so user controls. For the most part it is just a basic CRUD layer on top of a database, so it consists mainly of edit forms and datagrids.
All of my edit forms are laid out in fieldsets, and I am using plain asp:GridViews for my tables (they render to an html table). Some forms are in serious need of tabs to lay out the elements. I'd really like to be able to style my GridViews with a fixed header and vertical scrollbars.
I have to do a demo in a few days but the problem is, there is no styling whatsoever applied to the html (no classes defined within the html, no CSS at all), and I am very weak with CSS.
So considering my predicament, can anyone offer some advice on how I could get this looking presentable in a very short period of time?
Is there such a thing as pre-existing decent generic CSS files I could download and drop on top of this app that could apply an attractive and consistent look and feel to most elements? Would http://jqueryui.com/ be useful in this particular situation?[URL] looks very attractive, can anyone comment on how easy it would be to globally wire all of my GridViews up with that?
View 3 Replies
Feb 6, 2011
I have this setting in web config for session.
[Code]....
On localhost works well. On the hosting server expires very quickly. Sometimes after a minute, and sometimes after a few minutes.
I tried mode="StateServer" and mode="SQLServer", but first works the same, other doesn't work. The next problem is that End_Session in global.asax doesn't executes if mode is not InProc. And I need this.
How could I achive that session expires only when browser is closed or other url is typed. Just setting timeout doesn't work.
View 2 Replies
Dec 21, 2010
i have a gridview connected with a sqlDatatsource that show/update records and that work fine
now what if i want to edit records quickely like in excell for example
so the left/right arrows to switch between columns up/down arrows to switch between records
i want to use this grid to edit invoice like table is the gridview suitable for this kind of use or i have to use another component (DB aware ideally)?
View 2 Replies
Apr 6, 2010
What solution is better?
- For server load.
- For quick loading pages
1) Use a timer from VS2008, set the timer for three seconds.Use UpdatePanel and Triggers.In Timer_Tick write code for the application.
2) Create a WebMethod, where to write the application code.And using javascript to load a Web method and use - window.setInterval (callMethod () ', 3000).
View 20 Replies
Jun 4, 2010
I am using a cms product that likes to cache every page so that you get quick response times. The downside of that is that pages can get stale. My question is: are there different caches per user? Does asp.net keep track of caches on a per user per site basis? That's what is seems like to me, but I can't seem to find it documented anywhere. With this cms, they have a load of hashtables keeping tabs on the modified pages. If you clear out the cache, log out, and log back in again as another user, you still have stale information. The only way to get the information to be current for all users is to recycle the app pool, which is something you don't want to do too often ( kinda like pulling the emergency brake on the train ).
View 2 Replies
Jun 8, 2010
I would like to start a System.Threading.Timer in my application when it launches (maybe deploy is the correct word). I have seen that you can use Application_Start() but this is only fired once the first request comes to the application. I need the timer to start as soon as the application is running so that it can check for work to process even if a user is not interacting with the site. How can I get the application to start the timer once it is up and running?
View 4 Replies