My after hours project

Entity framework is great, and even with high volumes it does just perfect.

Do a couple of benchmarks first (with high volume transaction) using EF6 and .NET 4.5, then come back here and post your results..

No Toitjie we just decided that we wanted to write our own api, instead of doing benchmarks :erm:
 
had to delete and recreate the db now its fine...
apparently there was a bit of a glitch with the deployments and bitbucket.
all i had to do was remove and re-add the connection and it redeployed fine.

looking at maybe moving to a paid plan on azure, the offer you a staging environment for every deploy...
 
Last edited:
had to delete and recreate the db now its fine...
apparently there was a bit of a glitch with the deployments and bitbucket.
all i had to do was remove and re-add the connection and it redeployed fine.

looking at maybe moving to a paid plan on azure, the offer you a staging environment for every deploy...

If you have a CC/PTY LTD. you can apply for a bizspark account and get a free year on azure.
 
i was looking at biz spark but you need to be registered and stuff first.. it's a good idea though

Do it. It's worth it.
I have been a member since it started. Get VS free, SQL Server free, Windows (all supported) free. Etc... Etc... So worth the effort.
Get all new versions of software before they are released to the public.
 
anyone with twitter bootstrap experience know how to set a textboxes size while still making it responsive? i have no clue wtf when it comes to front-end

resize the search or details pages for examples of bad responsive...
 
Last edited:
Been using Dapper (haven't tried PetaPoco, Massive, ServiceStack's ORMLite, etc)on all my projects and been happy so far.
Can't seem to resolve the M:M relationship with Dapper, but EF has than built-in to resolve it using (HasMany and WithMany). It looks like I have to create that intermediate class.
I think EF is great since it has gone open source.
 
Last edited:
input-medium, etc

edit: that is for bootstrap 2,

bootstrap3 - http://getbootstrap.com/css/#forms-control-sizes

thanks dude will take a look tonight. regarding the data layer, ef does seem to have come a long way, especially in code first development.

i love the way it integrates into glimpse. try devscore.azurewebsites.net/glimpse to enable it. also new relic integrates superbly allowing me to see slow queries in new relic
 
Thanks man.

Rolled out some minor ui changes to the wizard when reviewing companies.
Also fixed a bug where you could submit certain things twice by double clicking on the button...

Im using knockout.js to post json data back and forth to the server side, not a standard html form.
One of the downsides is that it "feels" a bit wonky when you're submitting.
It looks like nothings happening when you clicked submit.

Im still trying to find a nice modal ui spinner or something just to let the user know that something is busy happening, but since its not there yet, people (including myself) would double submit things and then break things. Its a good error to have because firstly it means I'm missing a check on the server side to see if people are submitting something twice, which I have added. Secondly its a reminder that I'm dealing with an api on the server side and you can't assume people will always use your UI or not make funny requests directly.

One thing that is sporadically happening is that weird log on bug where you just get stuck on the log on screen when using your google account... This seems to be tied to using the website while I'm rolling out. I checked my deployment logs and every time this error has cropped up, a deployment was either happening or had just happened.

Azures solution is obviously that staged deployments option where you essentially run two sites, deploy to the background one, test it and then switch over... But that costs money right now and I don't have it... So if this happens to you do the standard IT thing... close your browser and turn it on again..

I am working on a solution and am moving to a daily deploy at like 2am sooner or later, but for now.. just turn it off and on again.

This thread is prolly going to become slightly boring if you're not interested in my project. But I find it motivating to tell you guys what I'm doing and what I plan on doing and then pretending that every single one of you are awaiting it with bated breath....

Also, when someone adds their first review I will make sure that the data doesn't disappear. If you take the time to actually enter something I will do my best to ensure I don't lose it. I see a lot of people logging on, performing a search and then leaving when there are no results, but the only reason there aren't results yet is coz nobody has entered any yet :D
 
Last edited:
I just popped in using my phone, and the fields are all squashed. Looks like the main borders are fixed. I'd add a screenshot, but tapatalk says that option is disabled for this forum. rpm?
 
I'd tell you how to show progress when clicking, but you're using knockout and im using angular. I have a directive that i apply to my click fields.
 
yeah it looks ****ed up on phone. busy working on that at the moment but im seriously considering making a separate mobile only version

You dont need to make a mobile version only, you just need to use responsive elements correctly. Which looking at the html you are not.

Firstly your http://devscore.azurewebsites.net/Search is badly designed, you are using tables for form layout which is responsive 101 error. Tables are used for tabular data NOT for layout.

You can achieve that layout very simply for your search fields with standard div's

Also you just have panel tags all over the place, i dont see anywhere where it may do media queries in order to determine the break points to shift the content. i.e. col-lg-12, col-md-8 etc..

Code:
<div class="panel" ng-controller="UserController">
  <div class="panel-body">
    <fieldset>
      <legend>Login Information</legend>
      <div class='row'>
        <div class='col-sm-12'>
          <div class='form-group'>
            <label for="user_login">Username</label>
            <input class="form-control" id="user_login" name="user[login]" required="true" size="30" type="text" />
          </div>
        </div>
      </div>
      <div class='row'>
        <div class='col-sm-6'>
          <div class='form-group'>
            <label for="user_password">Password</label>
            <input class="form-control" id="user_password" name="user[password]" size="30" type="password" />
          </div>
        </div>
        <div class='col-sm-6'>
          <div class='form-group'>
            <label for="user_password_confirmation">Password confirmation</label>
            <input class="form-control" id="user_password_confirmation" name="user[password_confirmation]" size="30" type="password" />
          </div>
        </div>
      </div>
    </fieldset>
    <fieldset>
      <legend>Personal Information</legend>
      <div class='row'>
        <div class='col-sm-2'>
          <div class='form-group'>
            <label for="user_title">Title</label>
            <input class="form-control" id="user_title" name="user[title]" size="30" type="text" />
          </div>
        </div>
        <div class='col-sm-5'>
          <div class='form-group'>
            <label for="user_firstname">First name</label>
            <input class="form-control" id="user_firstname" name="user[firstname]" required="true" size="30" type="text" />
          </div>
        </div>
        <div class='col-sm-5'>
          <div class='form-group'>
            <label for="user_lastname">Last name</label>
            <input class="form-control" id="user_lastname" name="user[lastname]" required="true" size="30" type="text" />
          </div>
        </div>
      </div>
      <div class='row'>
        <div class='col-sm-12'>
          <div class='form-group'>

            <label for="user_email">Email</label>
            <input class="form-control required email" id="user_email" name="user[email]" required="true" size="30" type="text" />
          </div>
        </div>
      </div>
    </fieldset>
  </div>
  <div class="panel-footer">
    <button class="btn btn-success tooltips pull-right" type="button" data-original-title="Update Profile" ng-click="updateProfile()">Update Profile</button>
  </div>
</div>

That is an example of a fully responsive form.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X