profile

ASP.NET built in user profile, Vs old stile user class/tables

I am looking for the spiritual guidance of what is the best practice around the use of Profile feature in ASP.NET. How do you decide what should be kept in the built in user Profile, or if you should just go and create your own DB Table and add a column for that? For example, a user has a zip code, should I save the zip code in my own t...

what's in your .bashrc ?

.bashrc modifications are like nesting for developers. All I have right now is a few aliases and some PATH modifications. What's in yours?...

GetLocalTime() API time resolution

I need to find out time taken by a function in my application. Application is a MS VIsual Studio 2005 solution, all C code. I used thw windows API GetLocalTime(SYSTEMTIME *) to get the current system time before and after the function call which I want to measure time of. But this has shortcoming that it lowest resolution is only 1msec...

Operating System Overheads while profiling?

Hi, I am doing profiling of a C code in Microsoft VS 2005 on a Intel Core-2Duo platform. I measure the time(secs:millisecs) counsumed by my function. But i have some doubts about the accuracy of this measurement as the operating system will not continuously run my application, but instead schedule others apps/services in between the ...

What's the best Free C++ Profiler for windows (if there are)

Hi, I'm looking for a profiler in order to find the bottleneck of my c++ code. I'd like to find a free, non intrusive, good profiling tool. I'm a game developer and I use PIX for Xbox360, I found it very good (but not free) I know the Intel v-Tune, but it's not free. There exists any free profiling tool? ...

Implementing Profile Provider in ASP.NET MVC

For the life of me, I cannot get the SqlProfileProvider to work in an MVC project that I'm working on. The first interesting thing that I realized is that Visual Studio does not automatically generate the ProfileCommon proxy class for you. That's not a big deal since it's simpy a matter of extending the ProfileBase class. After creati...

Sharepoint: How to set the permission to edit WSS user profile

Hello, I'm running a SharePoint Application on a MOSS 2007 with a form based user authentication without using the MySite feature. So all the settings on the SSP administration site which only concern the user profile on the MySites should normally not affect the user profile of the application as these should be managed from WSS. But ...

Better way to profile?

Is there a better way to profile code then: $start1 = microtime(TRUE); for($i=0;$i<count($array);$i++) { //do something } $time1 = microtime(TRUE) - $start1; ...

Enhancing Profile Provider

Hi, I am want to serialize and array object for a custom wizard I am writing but I am having difficulties doing this. Can someone help this is the error and code snippets I am using. The error I believe has to do with not being able to convert the array. namespace Helios.Web.Framework { /// <summary> /// Summary description fo...

What techniques can you use to profile your code...

Some of the platforms that I develop on, don't have profiling tools. I am looking for suggestions/techniques that you have personally used to help you identify hotspots, without the use of a profiler. The target language is C++. I am interested in what you have personally used. ...

PS1 line-wrapping with colours problem

Here's my PS1 variable: PS1='\u:\W$(__git_ps1 "\e[32m\][%s]\e[0m\]")$ ' Works great for picking up my Git branch, but it has the unfortunate side-effect of wrapping the lines when the colours are active, so that they overlap when you use long commands. Can anyone with magic PS1 skills help me out to fix this? ...

Available Maven Profiles

Is there an easy way to figure out, preferably from the command line, what profiles are available for a particular project. I've got a big, multi-module project I'm trying to figure out. ...

Create provisioning profile in iphone application

HI all, How can i build provisioning profile in iphone application? Please help, urgent. Thanks & REgards Khushi ...

How do I make Profile type information available in a web app?

I am moving my ASP.NET website to a WepApp. I am of course having trouble with the Profile Provider. I have seen many workarounds. I just need a simple way to have user information available server-side without having to go to the DB every time. Profile was a good option until I tried to make it a WebApp. Is there a better way? ...

Simple to use, non-invasive JavaScript Call Stack Visualiser?

Can anyone recommend a graphical call stack visualiser for JavaScript, that I can install on a Linux box (or is OS neutral)? Preferably one that doesn't involve having to modify the JavaScript being profiled. I'm after something similar to the graphs produced by valgrind/kcachegrind but for JavaScript. Edit: A couple of people have sug...

Accessing the Profile object from Code Behind Bug? (ASP.NET 2.0 Provider Model)

I have been playing around w/ ASP.NET's Membership, Roles, and Profile providers. In doing so, I recently set up Microsoft Sample's custom Table Profile Provider (see: http://www.asp.net/downloads/sandbox/table-profile-provider-samples/) When I run the test solution I have programatic access to the Profile variables. I.e. I can type P...

How to assign Profile values?

I don't know what I am missing, but I added Profile properties in the Web.config file but cannot access Profile.Item in the code or create a new profile. ...

ASP.NET User Profile vs using Cookies

I think, in almost all cases user preference data may be stored in a cookie with (almost) equally good results as when the User Profile API is used. Disadvantages of using cookies (for authenticated users) seem to be that a cookie can be deleted or time-out, in which case the user preference data will be lost. For anonymous users, if the...

Management of ASP.NET User Profiles

The Storing User Profile quickstart gives some information about managing ASP.NET user profile. In my case the administrator has to be able to change/monitor some properties with profiles. Is it posible to access and change user profile's properties in another user profile by using default SqlServerProfileProvider and how? Thanks. ...

How can I diagnose Windows access/permission error

The title says it. I'm looking for a way to determine exactly which file/registry key this executable is attempting to access. I have attempted to use Windows auditing capabilities and Process Monitor to determine where the failure is happening but, this failure does not produce audit failure events or show as access denial in Process Mo...