Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:395438
More Search Options
RSS Available
Matching Posts
Re: Integrating PHP site with ASP.NET application DB
NHibernate should make it easier to connect to any kind of database, but then you will need 2 instances of it. You can always use plain ADO.NET (and the mysql driver ) to make a quick registration method that is called right after you insert with NHibernate. As for the login sessions, I don't really know how PHP security is handled, but in .NET you're working with a authentication cookie. Maybe you can "add" this cookie to the querystring when connecting to the forum for the first
Posted to
Architecture
(Forum)
by
littlefool
on 11/3/2009
Re: Integrating PHP site with ASP.NET application DB
A dual registration might be the easiest way. If you where using the ASP.NET Provider model, you could create your custom membership provider that inherits from the default sql server provider and where where you also register for your forum. Have a look here for an example of a membership provider that connects to a mysql database. You may be able to re-use the logic and place it in your custom implementation. http://www.codeproject.com/KB/database/mysqlmembershipprovider.aspx
Posted to
Architecture
(Forum)
by
littlefool
on 11/2/2009
Re: ListView Databind in MVC
It's not entirely true that all server controls won't work with MVC. MVC does not support postback anymore, so all controls that uses this feature won't work. Controls that just output html keeps working just fine. As for the listview, you can use this in MVC to display the data in a table-form, but all extra features such as paging, sorting etc... (that requires postback) won't work. So if you look it like this, you may as well create the table tags in your view and use a collection
Posted to
ASP.NET MVC
(Forum)
by
littlefool
on 11/2/2009
Re: Lookup Multiple Tables in Controller
You seem to be using Linq to SQL? If so you'll have to specify a join within your Linq statement that will retrieve also the data from other tables. Have a look at these examples to have an idea (the JOIN section) http://msdn.microsoft.com/en-us/vbasic/bb688085.aspx . It is not really the idea of placing database retrieval logic inside your controllor class. Usually, you would perform all this inside a seperate class/layer (such as a repository or service) that is then called from your controller
Posted to
ASP.NET MVC
(Forum)
by
littlefool
on 11/2/2009
Re: Validation Application block for ASP.NET apps
Using the ent library in your web application should be the same as in a windows application. I haven't used it directly, but I worked on a project where ent library was configured for all logging inside the application (web, windows, library...). Best thing would be to "wrap it up" in a seperate library that then can be used by all your code. but asp.net 2.0 also provide out of the box a quite good logging tool - Health Monitoring. Maybe you can have a look at that one too ;) http
Posted to
Architecture
(Forum)
by
littlefool
on 5/8/2009
Re: hide my web site sources
[quote user="toas1"]precompiling your application will only compile your code files, not your aspx files[/quote] precompilation does "compile" your aspx pages as well. after all, your aspx page is just 1 half of a partial class, which is compiled together with the code behind part in your dll. more information about pre compiling and how to do it (including signing) have a look here http://msdn.microsoft.com/en-us/library/ms228015.aspx I guess it depends who your clients are.
Posted to
Architecture
(Forum)
by
littlefool
on 5/8/2009
Re: Session vs roleProvider
during the authentication process of asp.net, the user object is created in the request and their roles are immediatly retrieved from the db as well (using roles provider). You can then access this information through Page.User.IsInRole( "RoleName" ) or HttpContext.Current.Request.User.IsInRole(...) The object is on the request and is already "cached", so no db roundtrips for as long as the user is authenticated.
Posted to
State Management
(Forum)
by
littlefool
on 5/7/2009
Re: Session vs roleProvider
during the authentication process of asp.net, the user object is created in the request and their roles are immediatly retrieved from the db as well (using roles provider). You can then access this information through Page.User.IsInRole( "RoleName" ) or HttpContext.Current.Request.User.IsInRole(...) The object is on the request and is already "cached", so no db roundtrips for as long as the user is authenticated.
Posted to
State Management
(Forum)
by
littlefool
on 5/7/2009
Re: What is the difference in a Dim declaration, Private declaration,Public declaration, and a Public Shared declaration from a security stand point
You have to add the library to your project, not only "Import" to your class. Right click on your project --> add reference --> .NET --> locate the reference
Posted to
Security
(Forum)
by
littlefool
on 5/7/2009
Re: ViewData and Foreach
[quote user="loveriysa"]Btw, could anyone please help me understand this concept of "Enumerable" I am having some hard time understanding well from many resources available online. Is there any explanation in very simple and easy to understand terms?[/quote] "Enumerable" classes collections provide an easy way to itterate through their child objects. In short, it allows you to use the foreach statement on your collection of objects. Most of the .NET collections already
Posted to
ASP.NET MVC
(Forum)
by
littlefool
on 5/7/2009
Page 1 of 25 (248 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
Channel 10:
Berlin Wall in Silverlight
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online