Hi,
I'm trying to implement a customRoleProvider in asp.net MVC 1.0. The class looks like this
using System;
using System.Web.Security;
namespace Project.Web.Services
{
public class CustomRoleProvider: RoleProvider
{
public override bool IsUserInRole(string username, string roleName)
{
throw ne...
Hi!
I'm trying to run a little ASP.NET project in a subfolder of my hosting.
My domain is www.gorangligorin.com, but i want to run my app in www.gorangligorin.com/testmvc. ASP.NET MVC runs with no problems on the top level, but not in subfolders.
The server says this (line 58 is colored red):
Line 56: ASP.NET to identify a...
I have just created a user in ASP.NET MVC ,and i want to insert him into Membership table. How can i do that? , because i can`t insert into Membership_Users
thanks
...
I am creating a blog in Rails using the Scaffold feature. I would like to add a 'tags' field to each post like on StackOverflow and Wordpress. I can do this with a string type ( scaffold post title:string body:text tags:string ) and then comment seperated but this isn't a good practice, since I also want the reader to be able to browse b...
I am relatively new in C# and ASP.NET MVC.
There is something unusual that happens and it could be a simple property setup...
I have a MVC Web app and a css file associated with it in my Content folder.
Now everytime I do some changes in the css file I don't see these changes when I run the app. It seems that whatever I do the app keep...
Hi everybody, I am browsing trough the CI documentation particularly http://codeigniter.com/user_guide/libraries/pagination.html .
First thing that was stuck in my mind was "CodeIgniter's Pagination class is very easy to use, and it is 100% customizable, either dynamically or via stored preferences." but there always but something.
My...
Hi,
I just want to make sure I understand correctly the best practices for ASP.NET MVC2 with LINQ-TO-SQL.
Please correct me if I am wrong at any of the following points:
LINQ TO SQL generates classes for
you, based on your tables
The generated classes are Models
Those are the models we are supposed to use in the Views
If we want to a...
Will MVC 2 run on .net framework version 4.0 or 3.5 sp1? Has Microsoft even made an announcement yet as to what the requirements are?
Also, Will MVC 2 be an installation separate from .net 4.0 or will it be installed with 4.0?
...
I have to do a quite big project in J2ME for school.
I didn't used 'till now J2ME, so are there J2ME MVC frameworks
for which I can find books or at least very good online tutorials?
MVC is what I'm looking for because we have to do unit testing and
I'm familiar with MVC from ASP.Net MVC, Rails and Grails.
So, any good framework to use ...
Just trying to grasp the MVC by doing ... and still not sure got it right ..
using System;
using System.Text;
namespace MVPConsoleApp
{
class Program
{
static void Main(string[] args)
{
View objView = new View();
Controller objController = new Con...
When using Symfony 1.0, is it possible to create a link to a static file i.e. a PDF or DOC file and link to it a custom URL?
I'd like to add a file e.g. example.pdf to the web/uploads/pdf folder on the server but then link to it with a URL such as: http://www.example.com/docs/old/test/example.pdf
This situation has arisen because some ...
Help, this is my first Codeigniter app and I am having the strangest problem, the View is not getting the values of the variables from the database. I followed this tutorial, and instead, when I load the page, the values from the foreach loop show like this $value instead of displaying the actual contents in the database. I'm confused!
...
Hi there, Ihaven't done much MVC and still learning the hard way on how to do things.
MVC 1 and C#
The Problem
I want to provide a customer with a link such as www.temp.com/redirects/cust100?id=123&url=www.nothere.com
from the URL i know it will go to the controller of "redirects" but there isn't an Action of "cust100". How do i creat...
I am Developing a mid-size application and want to implement Application Architecture, I've read some Architecture Books and Approach and think about
AAFN (Application Arcitecture For .net) presented by Microsoft
SOA
SDLM
SDO
MVC
and vice versa ...
this is a web application that will extended with some other small application ( j...
I am learning MVC and I need to understand why it doesn't work the way it should.
Here is my routing :
public static void RegisterRoutes(RouteCollection routes)
{
// Note: Change the URL to "{controller}.mvc/{action}/{id}" to enable
// automatic support on IIS6 and IIS7 classic mode
//http://localhos...
I was hoping someone, could give some information on Cookies and Codeigniter, I have read there user guide on them so I have an understanding of how to set them, etc. What I want to know is how do I use for example if you look at the BBC website, you can drag and drop the boxes and it will remember where you placed them with out the need...
UPDATED:
I have a desktop application, with the following components interacting:
Winforms UI.
Service (in-process C# class that contains business logic to actually do stuff).
Controller (C# class that coordinates events raised by the UI and calls service methods).
If a controller asks a service to do something, but that service nee...
I have a template for a "blog preview" - which is basically just a thumbnail, title, and short excerpt of said blog in a nice concise structure built for repetition in a list.
As hinted above, I intend to pull the top 10 blogs on my site from the DB in my model, transfer them to the controller, which will supply them as for the view. In...
I have having a little trouble wrapping my head around the design pattern for MVC when the data type of the model property is very different than what I wish to display in a form. I am unsure of where the logic should go.
Realizing that I am not really sure how to ask the question I think I will explain it as a concrete example.
I have...
Hello there,
I just created this thread to discuss with people who have adopted the smarty system, and how many time it took to you to understand it, because i just can't get the idea, instead of making every easier as everybody says i think it just make more complex to code.
More than a problem with only smarty is with the whole MVC m...