Hi Guys,
I am new to web development, I am coding some ASP.NET,
I checked a lot of examples using MVC in ASP.NET, But I am looking for verbal answers from senior programmers, about why using MVC?
can U as seniors and team leaders show me the benefits?? and why not keeping using asp.net webforms?
thanks
Hi!
I'm about to replace my oldfashioned sessionbased server solutions with RESTful ones.
Where can I find information about design principles concerning security, authentication etc. when moving into this stateless domain?
I need to find solutions that work with different client platforms (Flex/Air, Browser, desktop and mobile apps etc.). Right now I work with php in the server end.
Hi!
i would like to know if it's possible, in c/c++, to launch an application and grab it's standard video output?
The goal of this would be to grab the buffer of an application, and use it as a texture for a grid of vertex with special texture coordinate (in order to project it in a FullDome)?
I'm developing under Linux.
Thnaks!
Hi,
Is there any way to detect the type of a webservice inside a httpmodule?
The reason for this is that I want to do some property injection to the webservice before
it's processed.
I found this:
http://social.msdn.microsoft.com/Forums/en/asmxandxml/thread/0e848eee-d353-4e67-b47f-89fddb600009
but that is one h..l of an ugly solution.
Anyone have a nice solution?
Hi All,
I have a asp.net page which is checking a UNC path on a listbox item change event using Directory.exist method.
This works fine in Internet explorer.
But when i use firefox and debugging this method returns false even though the directory exists.
What could be the reason for this strange problem.
Please someone answer this
Thanks
SNA
Hi guys,
I try to export excel file with some format like:
Interior.Color
HorizontalAlignment
Font.Bold
and etc..
So the question is, can we do like that is SSIS..
and how to do it?
Hi I want to display the fancybox in my own <div> because I need another position for the output.
The fancy JS is creating a <div> structure in my HTML wich i cant manipulate over CSS.
This structure I want only display in <div id="xyz"> for example.
Please help?
Hi,
i am using windows application and i export datatable into excel sheet... it will display successfully ... now i want to give multiple lines i a single cell... how shall i do this by using C#?
Anyone tell me the solution of this..
Thanks in advance....
Hi
Its been on the cards for a while, but now that Amazon have released Elastic Load balancing what are your thoughts on deploying this solution for a high-traffic web app.
Should we replace HAProxy or consider ELB as a complimentary service in front of HAProxy
Appreciate any comments or suggestions
Thanks
Dom
Hi guys,
for development test i need to set a sftp server so i want to know if its possible to use the same machine as client and server. because i tried and i keep getting this error :
Permission denied (publickey).
Connection closed
thanks !
Hi all. I have an ecommerce website and I am currently accepting payments from visa, master card and all the other major cards. However, one issue I am having is accepting payment from customers using local debit cards. Say someone from China doesn't have a major credit and he wants to use his local debit card, I want be able to accept payment from him as long as its legal. How do I go about this? Thanks.
Hi, I'm writing an iPad application that mimics a flash website I built.
The site uses Flash file uploader to upload files from the user's filesystem to my tomcat server.
I understand that an iPad application can sync files via iTunes to a Documents folder.
Given access to those files, how can I invoke a file upload of a selected file to the web.
Hi,
I have a small issue with jQuery on Safari (Mac OSX 10.6) - the page loads fine under Firefox (Mac) and Internet Explorer (Win) but has to be refreshed to work properly in Safari...
http://7souls.co.uk/store/index.php?dispatch=products.view&product_id=29788
If you hover over the image it is meant to show a magnified version to the right hand side - which works on the first page load on all browsers except Safari on the Mac.
You have to refresh the page to get it to work under safari.
Any Ideas,
MM
Hi,
Sorry if this is a duplicate, but i think I've seen enough of Google for one day!
My application needs to adjust a clients current age by +0.5 if it has been 6 months since their birthday.
The code should look something like this, but how many ticks would there be in 6 months?
if (DateTime.Today - dateOfBirth.Date > new TimeSpan(6))
{
adjust = 0.5M;
}
else
{
adjust = 0M;
}
Thanks in advance
Hi,
If I have an image of which I know the height and the width, how can I fit it in a rectangle with the biggest possible size without stretching the image.
Pseudo code is enough (but I'm going to use this in Java).
Thanks.
Hi,
I have a value as '05/17/2010'
I would like to get it as May 17, 2010 by using dojo.date.locale.I have tried using the dojo.date.locale.parse as follows :
x = '05/17/2010'
var x= dojo.date.locale.parse(x, {datePattern: "MM/dd/yyyy", selector: "date"});
alert(x)
This doesnt give me the desired date pattern
I also tried replacing the pattern as datePattern : "MMMM d, yyyy" but it returns me null.
Any help highly appreciated.
Thanks
hi--
my goal is to send an NSView over the wire. i was wondering whether there was a way to get the raw display data contained in an NSView so that I can send this data over the wire and re-display this at the destination.
thanks.
Hi folks,
I have a list of usernames on Twitter whose profiles are public. I wish to get "all the tweets" they have posted from the day they formed their profile. I checked Twitter4J examples http://github.com/yusuke/twitter4j/blob/master/twitter4j-examples/src/main/java/twitter4j/examples/GetTimelines.java . According to the Twitter API documentation, only the 20 most recent tweets are returned. Is there anyway I could perform my task?
Hi All
I have an NSTableView which has three columns. The first one is a checkbox and the third one is a button. The button 'is enabled' state depends on whether or not the checkbox is checked.
I am setting the table content in the awakeFromNib method and I am implementing the checkbox state in the - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row method. I need to find a way setEnabled: for the NSButton
Thanks
Hi folks,
how can I convert this a DateTimeOffset.Now into a twitter format date/time?
Twitter example: <created_at>Tue Apr 07 22:52:51 +0000 2009</created_at>
Cheers :)
Hi,
I want to set the Masterpage property in Global.asax.
This is what I have done but I get a NullReferenceException on the first line.. Any ideas how to do this?
protected void Application_PreSendRequestContent(Object sender, EventArgs e)
{
System.Web.UI.Page page = System.Web.HttpContext.Current.Handler as System.Web.UI.Page;
if (Session["lang"] == "eng")
{
page.MasterPageFile = "SideMasterPageEng.master";
}
}
Hi all,
i wanted to know how vptr getting vtable base address.
for instance
class A
{
virtual getdata();
int a;
}
now,
A obj; /// here vptr getting vtable's base address.
i wanted to know this mystery..
Thanks in advance
Hi, I have an NSArray of NSDictionary objects which I would like to be able to return a new array of NSDictionaries from, where every NSDictionary has "Area == North" (for example).
The closest example I have found so far is http://stackoverflow.com/questions/958622/using-nspredicate-to-filter-an-nsarray-based-on-nsdictionary-keys but this just returns the unique values for a given key, not the dictionary that has that key. Is there any way to perform a similar operation, and to return the entire dictionary?
Hi
have tried to create a inclusion tag on Django but don't work and return
str' object has no attribute
'autoescape'
this is the code of custom tag:
from django import template
from quotes.models import Quotes
register = template.Library()
def show_quote():
quote = Quotes.objects.values('quote', 'author').get(id=0)
return {'quote': quote['quote']}
register.inclusion_tag('quotes.html')(show_quote)
EDIT: Quote class
from django.db import models
class Quotes(models.Model):
quote = models.CharField(max_length=255)
author = models.CharField(max_length=100)
class Meta:
db_table = 'quotes'
quotes.html
<blockquote id="quotes">{{ quote }}</blockquote>