How can I do profile completeness in ASP.NET?

Asked by Last Modified  

1 Answer

Learn .Net

Follow 0
Answer

Please enter your answer

There is no baked solution to what you need. You need to make it for yourself. Say you are developing a social media website and you want to implement a progress-bar which shows “65% complete” as profile completeness. You can divide your user related information into logical groups and assign “weight”...
read more
There is no baked solution to what you need. You need to make it for yourself. Say you are developing a social media website and you want to implement a progress-bar which shows “65% complete” as profile completeness. You can divide your user related information into logical groups and assign “weight” to each group. e.g., General info (firstname, lastname, email) => Weight 25 Education (school, graduation, post-graducation) => Weight 25 Work (company1, company2, … ) => Weight 25 (you can say 25 if more than 1 row exists) Hobbies (hobby1, hobby2, …) => Weight 25 (you can say 10 if only 1 row exists) You need to make sure that total weight adds to 100 (or add to 200 or 300 but then adjust your percentage accordingly) Then when user logs in, calculate this value by querying each section and calculate the percentage. Store this percent value in a cookie (to prevent repeat querying) When user modifies their profile data, update this cookie value by re-calculating the profile complete percent. read less
Comments

Related Questions

What is difference between "throw" and "throw ex" in .Net?
Yes, there is a difference; 1) throw ex resets the stack trace (so your errors would appear to originate from HandleException) 2) throw doesn't - the original offender would be preserved.
Profile Photo
SEED Infotech Ltd
Is developing a website in .net easy or in php?
In php developing an app is easy.
Profile Photo
Nithish REDDY
What is .Net Ajax?
With the Help of JavaScript sending/Receiving Multiple Data to/from the server using XML(its a DataLayer transfered using HTTP protocals) instead of sending entire pages , thats why it is called Asynchronous Javascript And Xml(AJAX).
Profile Photo
Aadarsh
How to choose a best Institute for. Net
no such institutes offers best guidance for dotnet unless you come across a privte tutor or corp[orate trainer who can deal with you in detail having past industrial experience
Profile Photo
Vinod
Hi, I have asp.net project with sql connection.I want connect database with asp.net and run the project and web config file there
In web.config: <connectionStrings> <add name="ConnectionString" connectionString="Data Source=192.168.1.25;Initial Catalog=Login;Persist Security Info=True;User ID=sa;Password=example.com" providerName="System.Data.SqlClient"...
Profile Photo
Fathima

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Inversion of Control
Problem You have classes that have dependencies on services or components whose concrete type is specified at design time. In this example, ClassA has dependencies on ServiceA and ServiceB. Figure 1 illustrates...
Profile Photo

Read CSV data using ODBC Connection
Codes to read the CSV data using ODBC Connection- Input File: File's Encoding format should be ANSI as below class Student{ public string CollegeId { get; set; } public string AdmissionDate...
Profile Photo

What is the need for Restful Service in MVC Core?
EXPLANATIONRestful service makes access to client information send to the server by JSON request that reduces several round trips from the server and hence optimises the speed. HTML framework works the...
Profile Photo

Best way to learn any software Course
Hi First conform whether you are learning from a real time consultant. Get some Case Studies from the consultant and try to complete with the help of google not with consultant. Because in real time same situation will arise. Thank you
Profile Photo

Export To Excel using StringBuilder in ASP.net MVC C#
public ActionResult Export() { StringBuilder sb = new StringBuilder(); //static file name, can be changes as per requirement string sFileName = "filename.xls"; //Bind...
M

Mohammad Shafi

1 0
View Comments1

Recommended Articles

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Looking for .Net Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you